Add async_write_ha_state to Reolink select (#90764)

Add async_write_ha_state to select
This commit is contained in:
starkillerOG 2023-04-04 11:48:14 +02:00 committed by Paulus Schoutsen
parent 1848a723cd
commit f03b9036c5

View File

@ -144,3 +144,4 @@ class ReolinkSelectEntity(ReolinkChannelCoordinatorEntity, SelectEntity):
async def async_select_option(self, option: str) -> None:
"""Change the selected option."""
await self.entity_description.method(self._host.api, self._channel, option)
self.async_write_ha_state()