1
0
mirror of https://github.com/home-assistant/core.git synced 2026-07-13 01:27:57 +01:00

Make Elgato key light snappier (#176071)

This commit is contained in:
Joost Lekkerkerker
2026-07-09 11:34:02 +02:00
committed by GitHub
parent 8db3cb5ba5
commit dfb8e6a658
+2 -2
View File
@@ -100,7 +100,7 @@ class ElgatoLight(ElgatoEntity, LightEntity):
async def async_turn_off(self, **kwargs: Any) -> None:
"""Turn off the light."""
await self.coordinator.client.light(on=False)
await self.coordinator.async_request_refresh()
await self.coordinator.async_refresh()
@elgato_exception_handler
@override
@@ -143,7 +143,7 @@ class ElgatoLight(ElgatoEntity, LightEntity):
saturation=saturation,
temperature=temperature,
)
await self.coordinator.async_request_refresh()
await self.coordinator.async_refresh()
@elgato_exception_handler
async def async_identify(self) -> None: