mirror of
https://github.com/GeorgeSG/lovelace-time-picker-card.git
synced 2026-09-06 02:18:44 +00:00
Use ENTITY_DOMAIN in callService
This commit is contained in:
@@ -121,7 +121,7 @@ export class TimePickerCard extends LitElement {
|
||||
|
||||
const time = `${this.hour.value}:${this.minute.value}:00`;
|
||||
|
||||
return this.hass.callService('input_datetime', 'set_datetime', {
|
||||
return this.hass.callService(TimePickerCard.ENTITY_DOMAIN, 'set_datetime', {
|
||||
entity_id: this.entity!.entity_id,
|
||||
time,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user