mirror of
https://github.com/home-assistant/core.git
synced 2025-04-24 01:08:12 +00:00
parent
d7634d1cb1
commit
50b2ee8c23
@ -61,8 +61,7 @@ class XiaomiGatewayLight(XiaomiDevice, LightEntity):
|
||||
return False
|
||||
|
||||
if value == 0:
|
||||
if self._state:
|
||||
self._state = False
|
||||
self._state = False
|
||||
return True
|
||||
|
||||
rgbhexstr = f"{value:x}"
|
||||
|
Loading…
x
Reference in New Issue
Block a user