From cd552ceb2b15d5e65c4a5495f297004f1ce3d789 Mon Sep 17 00:00:00 2001 From: epenet <6771947+epenet@users.noreply.github.com> Date: Wed, 31 Jul 2024 12:40:48 +0200 Subject: [PATCH] Fix implicit-return in mystrom (#122911) --- homeassistant/components/mystrom/binary_sensor.py | 1 + 1 file changed, 1 insertion(+) diff --git a/homeassistant/components/mystrom/binary_sensor.py b/homeassistant/components/mystrom/binary_sensor.py index 66ea2cc9679..17a1da75a96 100644 --- a/homeassistant/components/mystrom/binary_sensor.py +++ b/homeassistant/components/mystrom/binary_sensor.py @@ -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):