Don't avoid async_schedule_update_ha_state by returning false (#19102)
This commit is contained in:
1 parent
ece7b498ed
commit
f2f649680f
1 file changed
+1
-3
@@ -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):
|
||||
|
||||
Reference in new issue
Block a user