mirror of
https://github.com/home-assistant/core.git
synced 2025-07-16 17:57:11 +00:00
Don't avoid async_schedule_update_ha_state by returning false (#19102)
This commit is contained in:
parent
ece7b498ed
commit
f2f649680f
@ -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