Add home assistant mapping for hive MOT003 (#3429)

* Add home assistant mapping for hive MOT003

* fix pipeline

* remove garbage

Co-authored-by: Iain Matchett <iain.matchett@beeksfx.com>
This commit is contained in:
matchett808-gh 2020-04-29 16:36:49 +01:00 committed by GitHub
parent 04bd928f3a
commit 305cb259b3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1548,6 +1548,10 @@ 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],
'MOT003': [
cfg.sensor_temperature, cfg.binary_sensor_occupancy, cfg.sensor_illuminance,
cfg.sensor_illuminance_lux, cfg.binary_sensor_battery_low, cfg.sensor_battery,
],
'HALIGHTDIMWWE14': [cfg.light_brightness],
'GreenPower_On_Off_Switch': [cfg.sensor_action],
'GreenPower_7': [cfg.sensor_action],