Fix implicit-return in mystrom (#122911)

This commit is contained in:
epenet
2024-07-31 12:40:48 +02:00
committed by GitHub
parent c4398efbbb
commit cd552ceb2b

View File

@@ -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):