diff --git a/pyflichub/client.py b/pyflichub/client.py index 71093a2..0b6f881 100644 --- a/pyflichub/client.py +++ b/pyflichub/client.py @@ -163,7 +163,7 @@ def _handle_command(self, cmd: Command): def _handle_event(self, event: Event): button = None - if event.event == 'button' or event.event == 'buttonConnected': + if event.event == 'button': button = self._get_button(event.button) _LOGGER.debug(f"Button {button.name} was {event.action}")