Don't avoid async_schedule_update_ha_state by returning false (#19102)
This commit is contained in:
parent
ece7b498ed
commit
f2f649680f
1 changed files with 1 additions and 3 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue