Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
JohNan committed Oct 6, 2023
1 parent 4f0a7cc commit dfc4852
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyflichub/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -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}")

Expand Down

0 comments on commit dfc4852

Please sign in to comment.