mirror of
https://github.com/home-assistant/core.git
synced 2025-04-25 01:38:02 +00:00
Fix Lutron keypad led state always off at startup (#91149)
This commit is contained in:
parent
8ce17458a9
commit
e8fb7b8cf1
@ -107,8 +107,5 @@ class LutronLed(LutronDevice, SwitchEntity):
|
||||
|
||||
def update(self) -> None:
|
||||
"""Call when forcing a refresh of the device."""
|
||||
if self._lutron_device.last_state is not None:
|
||||
return
|
||||
|
||||
# The following property getter actually triggers an update in Lutron
|
||||
self._lutron_device.state # pylint: disable=pointless-statement
|
||||
|
Loading…
x
Reference in New Issue
Block a user