Skip to content

Commit

Permalink
https://github.com/andgineer/docker-amazon-dash-button-hack/issues/25
Browse files Browse the repository at this point in the history
mypy
  • Loading branch information
andgineer committed Oct 6, 2023
1 parent 6441a93 commit 1676d99
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/action.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,10 +113,10 @@ def subst(param: Any) -> Any:
def action(self, button: str, dry_run: bool = False) -> None:
"""Register event from the button."""
ACTION_HANDLERS = {
"sheet": self.sheet_action, # type: ignore
"calendar": self.calendar_action, # type: ignore
"ifttt": self.ifttt_action, # type: ignore
"openhab": self.openhab_action, # type: ignore
"sheet": self.sheet_action,
"calendar": self.calendar_action,
"ifttt": self.ifttt_action,
"openhab": self.openhab_action,
}
if button in self.events:
button_settings = self.events[button]
Expand Down

0 comments on commit 1676d99

Please sign in to comment.