mirror of
https://github.com/home-assistant/core.git
synced 2025-07-12 15:57:06 +00:00
parent
d7634d1cb1
commit
50b2ee8c23
@ -61,7 +61,6 @@ class XiaomiGatewayLight(XiaomiDevice, LightEntity):
|
||||
return False
|
||||
|
||||
if value == 0:
|
||||
if self._state:
|
||||
self._state = False
|
||||
return True
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user