mirror of
https://github.com/Koenkk/zigbee2mqtt.git
synced 2024-11-16 10:28:33 -07:00
Support LED1623G12. #21
This commit is contained in:
parent
8ad1d49870
commit
8523aa61b0
@ -131,7 +131,7 @@ const parsers = [
|
||||
convert: (msg) => {return {contact: msg.data.data['onOff'] === 0}}
|
||||
},
|
||||
{
|
||||
devices: ['LED1545G12', '7146060PH', 'LED1537R6'],
|
||||
devices: ['LED1545G12', '7146060PH', 'LED1537R6', 'LED1623G12'],
|
||||
cid: 'genLevelCtrl',
|
||||
type: 'devChange',
|
||||
convert: (msg) => {return {brightness: msg.data.data['currentLevel']}},
|
||||
@ -249,7 +249,7 @@ const parsers = [
|
||||
|
||||
// Ignore parsers (these message dont need parsing).
|
||||
{
|
||||
devices: ['WXKG11LM', 'MCCGQ11LM', 'MCCGQ01LM', 'WXKG01LM', 'LED1545G12', '7146060PH', 'LED1537R6', 'ZNCZ02LM', 'QBCZ11LM', 'QBKG04LM', 'QBKG03LM'],
|
||||
devices: ['WXKG11LM', 'MCCGQ11LM', 'MCCGQ01LM', 'WXKG01LM', 'LED1545G12', '7146060PH', 'LED1537R6', 'ZNCZ02LM', 'QBCZ11LM', 'QBKG04LM', 'QBKG03LM', 'LED1623G12'],
|
||||
cid: 'genOnOff',
|
||||
type: 'devChange',
|
||||
convert: () => null
|
||||
|
@ -118,6 +118,13 @@ const devices = {
|
||||
supports: 'on/off, brightness, color temperature',
|
||||
homeassistant: [homeassistant.light_brightness_colortemp]
|
||||
},
|
||||
'TRADFRI bulb E27 opal 1000lm': {
|
||||
model: 'LED1623G12',
|
||||
vendor: 'IKEA',
|
||||
description: 'TRADFRI LED bulb E27 1000 lumen, dimmable, opal white',
|
||||
supports: 'on/off, brightness',
|
||||
homeassistant: [homeassistant.light_brightness]
|
||||
},
|
||||
'TRADFRI bulb GU10 WS 400lm': {
|
||||
model: 'LED1537R6',
|
||||
vendor: 'IKEA',
|
||||
|
@ -118,6 +118,15 @@ const configurations = {
|
||||
command_topic: true
|
||||
}
|
||||
},
|
||||
'light_brightness': {
|
||||
type: 'light',
|
||||
object_id: 'light',
|
||||
discovery_payload: {
|
||||
brightness: true,
|
||||
platform: 'mqtt_json',
|
||||
command_topic: true
|
||||
}
|
||||
},
|
||||
|
||||
// Switch
|
||||
'switch': {
|
||||
|
Loading…
Reference in New Issue
Block a user