mirror of
https://github.com/home-assistant/core.git
synced 2025-08-10 16:15:08 +02:00
committed by
GitHub
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}"
|
||||
|
Reference in New Issue
Block a user