mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 13:17:32 +00:00
Fix implicit-return in mystrom (#122911)
This commit is contained in:
parent
c4398efbbb
commit
cd552ceb2b
@ -67,6 +67,7 @@ class MyStromView(HomeAssistantView):
|
|||||||
else:
|
else:
|
||||||
new_state = self.buttons[entity_id].state == "off"
|
new_state = self.buttons[entity_id].state == "off"
|
||||||
self.buttons[entity_id].async_on_update(new_state)
|
self.buttons[entity_id].async_on_update(new_state)
|
||||||
|
return None
|
||||||
|
|
||||||
|
|
||||||
class MyStromBinarySensor(BinarySensorEntity):
|
class MyStromBinarySensor(BinarySensorEntity):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user