Skip to content

Commit

Permalink
Support light devices MQTT discovery. AndrewLinden#9
Browse files Browse the repository at this point in the history
  • Loading branch information
Koenkk committed Apr 20, 2018
1 parent aebce90 commit 823a9ea
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions lib/devices.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,12 +50,31 @@ const devices = {
vendor: 'IKEA',
description: 'TRADFRI LED bulb E27 980 lumen, dimmable, white spectrum, opal white',
supports: 'on/off, brightness, color temperature',
homeassistant: {
type: 'light',
discovery_payload: {
brightness: true,
color_temp: true,
platform: 'mqtt_json',
command_topic: true
}
}
},
'LLC020': {
model: '7146060PH',
vendor: 'Philips',
description: 'Hue Go',
supports: 'on/off, brightness, color temperature, color rgb',
homeassistant: {
type: 'light',
discovery_payload: {
brightness: true,
color_temp: true,
xy: true,
platform: 'mqtt_json',
command_topic: true
}
}
},
}

Expand Down

0 comments on commit 823a9ea

Please sign in to comment.