Skip to content

Commit

Permalink
Add ZHA light and occupancy sensor profiles (#47)
Browse files Browse the repository at this point in the history
  • Loading branch information
rcloran committed May 5, 2018
1 parent 146734e commit 3d51626
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions zigpy/profiles/zha.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,4 +71,6 @@ class DeviceType(enum.IntEnum):
DeviceType.ON_OFF_LIGHT_SWITCH: ([0x0007], [0x0004, 0x0005, 0x0006]),
DeviceType.DIMMER_SWITCH: ([0x0007], [0x0004, 0x0005, 0x0006, 0x0008]),
DeviceType.COLOR_DIMMER_SWITCH: ([0x0007], [0x0004, 0x0005, 0x0006, 0x0008, 0x0300]),
DeviceType.LIGHT_SENSOR: ([0x0400], []),
DeviceType.OCCUPANCY_SENSOR: ([0x0406], []),
}

0 comments on commit 3d51626

Please sign in to comment.