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:
committed by
GitHub
parent
8db3cb5ba5
commit
dfb8e6a658
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user