Faster refresh when changing configs

This commit is contained in:
Andre Basche 2023-04-23 20:04:19 +02:00
parent 1143c47fd3
commit 616f7babdb
3 changed files with 4 additions and 2 deletions

View file

@ -147,7 +147,7 @@ class HonSelectEntity(HonEntity, SelectEntity):
async def async_select_option(self, option: str) -> None:
self._device.settings[self.entity_description.key].value = option
await self.coordinator.async_request_refresh()
await self.coordinator.async_refresh()
@callback
def _handle_coordinator_update(self):