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
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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