From e8fb7b8cf17290167bf8ab1238deacb4d6c7f715 Mon Sep 17 00:00:00 2001 From: Mike Knoop Date: Wed, 12 Apr 2023 03:59:52 -0700 Subject: [PATCH] Fix Lutron keypad led state always off at startup (#91149) --- homeassistant/components/lutron/switch.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/homeassistant/components/lutron/switch.py b/homeassistant/components/lutron/switch.py index f8ca93beb2e..7d33a822087 100644 --- a/homeassistant/components/lutron/switch.py +++ b/homeassistant/components/lutron/switch.py @@ -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