Fix implicit-return in mystrom (#122911)
This commit is contained in:
parent
c4398efbbb
commit
cd552ceb2b
1 changed files with 1 additions and 0 deletions
|
@ -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):
|
||||
|
|
Loading…
Add table
Reference in a new issue