mirror of
https://github.com/Andre0512/hon.git
synced 2025-05-14 23:24:24 -04:00
Faster refresh when changing configs
This commit is contained in:
parent
1143c47fd3
commit
616f7babdb
3 changed files with 4 additions and 2 deletions
|
@ -180,7 +180,7 @@ class HonNumberEntity(HonEntity, NumberEntity):
|
|||
|
||||
async def async_set_native_value(self, value: float) -> None:
|
||||
self._device.settings[self.entity_description.key].value = value
|
||||
await self.coordinator.async_request_refresh()
|
||||
await self.coordinator.async_refresh()
|
||||
|
||||
@callback
|
||||
def _handle_coordinator_update(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue