Show entity page on main page
This commit is contained in:
@ -35,8 +35,7 @@ class DateTimeEntity extends Entity {
|
||||
return formattedState;
|
||||
}
|
||||
|
||||
void setNewState(newValue) {
|
||||
eventBus
|
||||
.fire(new ServiceCallEvent(domain, "set_datetime", entityId, newValue));
|
||||
void setNewState(Map newValue) {
|
||||
ConnectionManager().callService(domain, "set_datetime", entityId, newValue);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user