Skip to content

Commit

Permalink
style(black): fix format from #296
Browse files Browse the repository at this point in the history
  • Loading branch information
xaviml committed May 3, 2021
1 parent d67afc9 commit 144ff1b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 2 additions & 1 deletion RELEASE_NOTES.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,5 @@ PRERELEASE_NOTE

## :video_game: New devices

- [929003017102](https://xaviml.github.io/controllerx/controllers/929003017102) - add device with deCONZ support [ #276 ]
- [929003017102](https://xaviml.github.io/controllerx/controllers/929003017102) - add device with Z2M and deCONZ support [ #276 ]
- [E1812](https://xaviml.github.io/controllerx/controllers/E1812) - add deCONZ support [ #296 ] @schneekluth
4 changes: 3 additions & 1 deletion apps/controllerx/cx_devices/ikea.py
Original file line number Diff line number Diff line change
Expand Up @@ -501,7 +501,8 @@ def get_deconz_actions_mapping(self) -> DefaultActionsMapping:
1002: Light.TOGGLE,
1001: Light.HOLD_BRIGHTNESS_TOGGLE,
1003: Light.RELEASE,
}
}


class E1812SwitchController(SwitchController):
def get_z2m_actions_mapping(self) -> DefaultActionsMapping:
Expand All @@ -510,6 +511,7 @@ def get_z2m_actions_mapping(self) -> DefaultActionsMapping:
def get_deconz_actions_mapping(self) -> DefaultActionsMapping:
return {1002: Switch.TOGGLE}


class W2049LightController(LightController):
def get_z2m_actions_mapping(self) -> DefaultActionsMapping:
return {
Expand Down

0 comments on commit 144ff1b

Please sign in to comment.