Skip to content

Commit

Permalink
Add back ON_OFF_LIGHT_SWITCH, DIMMER_SWITCH and COLOR_DIMMABLE_LIGHT
Browse files Browse the repository at this point in the history
Since they are target devices I've added them as switch and lights,
which matches the Zigbee documentation.
  • Loading branch information
jurriaan committed Jun 9, 2019
1 parent 46aa843 commit ad91817
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions homeassistant/components/zha/core/registries.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,9 @@ def get_deconz_radio():
zha.DeviceType.ON_OFF_LIGHT: LIGHT,
zha.DeviceType.DIMMABLE_LIGHT: LIGHT,
zha.DeviceType.COLOR_DIMMABLE_LIGHT: LIGHT,
zha.DeviceType.ON_OFF_LIGHT_SWITCH: SWITCH,
zha.DeviceType.DIMMER_SWITCH: LIGHT,
zha.DeviceType.COLOR_DIMMER_SWITCH: LIGHT,
zha.DeviceType.ON_OFF_BALLAST: SWITCH,
zha.DeviceType.DIMMABLE_BALLAST: LIGHT,
zha.DeviceType.ON_OFF_PLUG_IN_UNIT: SWITCH,
Expand Down

0 comments on commit ad91817

Please sign in to comment.