mirror of
https://github.com/home-assistant/core.git
synced 2025-08-01 09:38:21 +00:00
Don't avoid async_schedule_update_ha_state by returning false (#19102)
This commit is contained in:
parent
e2bf3ac095
commit
afa48c54e9
@ -423,9 +423,7 @@ class XiaomiButton(XiaomiBinarySensor):
|
||||
})
|
||||
self._last_action = click_type
|
||||
|
||||
if value in ['long_click_press', 'long_click_release']:
|
||||
return True
|
||||
return False
|
||||
return True
|
||||
|
||||
|
||||
class XiaomiCube(XiaomiBinarySensor):
|
||||
|
Loading…
x
Reference in New Issue
Block a user