Skip to content

Commit

Permalink
Adding homeassistant mapping for Hive DWS003 contact sensor (#3682)
Browse files Browse the repository at this point in the history
Co-authored-by: Koen Kanters <[email protected]>
  • Loading branch information
sprockers and Koenkk authored Jun 7, 2020
1 parent 3566af1 commit c14e18d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/extension/homeassistant.js
Original file line number Diff line number Diff line change
Expand Up @@ -1592,6 +1592,7 @@ const mapping = {
'511.040': [cfg.light_brightness_colortemp_colorxy],
'511.344': [cfg.sensor_battery, cfg.sensor_action, cfg.sensor_action_color, cfg.sensor_action_color_temperature],
'SMSZB-120': [cfg.binary_sensor_smoke, cfg.sensor_temperature, cfg.sensor_battery],
'DWS003': [cfg.binary_sensor_contact, cfg.sensor_battery, cfg.binary_sensor_battery_low, cfg.sensor_temperature],
'MOT003': [cfg.binary_sensor_occupancy, cfg.sensor_temperature, cfg.sensor_battery, cfg.binary_sensor_battery_low],
'HALIGHTDIMWWE14': [cfg.light_brightness],
'GreenPower_On_Off_Switch': [cfg.sensor_action],
Expand Down

0 comments on commit c14e18d

Please sign in to comment.