Don't avoid async_schedule_update_ha_state by returning false (#19102)

This commit is contained in:
Sebastian Muszynski authored and Daniel Høyer Iversen committed 2018-12-08 08:45:03 +01:00
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):