mirror of
https://github.com/home-assistant/core.git
synced 2025-08-03 20:55:10 +02:00
Fix implicit-return in mystrom (#122911)
This commit is contained in:
@@ -67,6 +67,7 @@ class MyStromView(HomeAssistantView):
|
||||
else:
|
||||
new_state = self.buttons[entity_id].state == "off"
|
||||
self.buttons[entity_id].async_on_update(new_state)
|
||||
return None
|
||||
|
||||
|
||||
class MyStromBinarySensor(BinarySensorEntity):
|
||||
|
Reference in New Issue
Block a user