diff --git a/lib/homeassistant.js b/lib/homeassistant.js index 9b887ac8..e1f6b338 100644 --- a/lib/homeassistant.js +++ b/lib/homeassistant.js @@ -140,6 +140,16 @@ const configurations = { command_topic: true, }, }, + 'light_brightness_xy': { + type: 'light', + object_id: 'light', + discovery_payload: { + brightness: true, + xy: true, + platform: 'mqtt_json', + command_topic: true, + }, + }, 'light_brightness_colortemp': { type: 'light', object_id: 'light', @@ -230,6 +240,9 @@ const mapping = { 'HALIGHTDIMWWE27': [configurations.light_brightness], 'AB3257001NJ': [configurations.switch], '8718696449691': [configurations.light_brightness], + 'RB 185 C': [configurations.light_brightness_colortemp_xy], + '9290012573A': [configurations.light_brightness_colortemp_xy], + 'LED1624G9': [configurations.light_brightness_xy], }; // A map of all discoverd devices diff --git a/npm-shrinkwrap.json b/npm-shrinkwrap.json index 865e1828..24ee2c49 100644 --- a/npm-shrinkwrap.json +++ b/npm-shrinkwrap.json @@ -5,9 +5,9 @@ "requires": true, "dependencies": { "acorn": { - "version": "5.6.0", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-5.6.0.tgz", - "integrity": "sha512-QatFQ4C0n+PLqemyC6zXEv04tSqRR0hRqe+uGKPEVgKe2G8kl8wJvHzRYWwz6vqqEqt6idPVMFojZ4P1zlyAzQ==", + "version": "5.6.1", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-5.6.1.tgz", + "integrity": "sha512-XH4o5BK5jmw9PzSGK7mNf+/xV+mPxQxGZoeC36OVsJZYV77JAG9NnI7T90hoUpI/C1TOfXWTvugRdZ9ZR3iE2Q==", "dev": true }, "acorn-jsx": { @@ -589,7 +589,7 @@ "integrity": "sha512-yAcIQxtmMiB/jL32dzEp2enBeidsB7xWPLNiw3IIkpVds1P+h7qF9YwJq1yUNzp2OKXgAprs4F61ih66UsoD1A==", "dev": true, "requires": { - "acorn": "5.6.0", + "acorn": "5.6.1", "acorn-jsx": "3.0.1" } }, @@ -2810,9 +2810,9 @@ } }, "zigbee-shepherd-converters": { - "version": "0.1.10", - "resolved": "https://registry.npmjs.org/zigbee-shepherd-converters/-/zigbee-shepherd-converters-0.1.10.tgz", - "integrity": "sha512-jqguRUcc3SZdHkXXTnH3hSOV+8DNrzWxMiYNHz6Crbpn919x4N96PG/gRy4JrNLrwaBWM3Y9h56EkrB4VuldLQ==", + "version": "0.1.11", + "resolved": "https://registry.npmjs.org/zigbee-shepherd-converters/-/zigbee-shepherd-converters-0.1.11.tgz", + "integrity": "sha512-+2MXpdFL/jDDeIsK4lQwzMcPK11DEmCmqIH3pODNL1ojhEBQeIn+pjmHUa8ghcYnL8LqiG8oT/+GD0KBpIF1PA==", "dependencies": { "acorn": { "version": "5.5.3",