mirror of
https://github.com/Koenkk/zigbee2mqtt.git
synced 2026-08-28 23:00:55 +00:00
Support light devices MQTT discovery. #9
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user