From 63de819a5cc4411d6cf3e0a1a39b8538b816b7e9 Mon Sep 17 00:00:00 2001 From: Cyril Beslay Date: Mon, 3 May 2021 08:59:08 +0200 Subject: [PATCH] feat(zigbee2mqtt): Add Adeo devices (#1169) Fix #1156 Co-authored-by: Pierre-Gilles Leymarie --- server/services/zigbee2mqtt/model/Adeo.js | 17 +++++++++++++++++ server/services/zigbee2mqtt/model/index.js | 1 + 2 files changed, 18 insertions(+) create mode 100644 server/services/zigbee2mqtt/model/Adeo.js diff --git a/server/services/zigbee2mqtt/model/Adeo.js b/server/services/zigbee2mqtt/model/Adeo.js new file mode 100644 index 0000000000..715439036a --- /dev/null +++ b/server/services/zigbee2mqtt/model/Adeo.js @@ -0,0 +1,17 @@ +const { features } = require('../utils/features'); + +/** + * Adeo managed models. + */ +const Adeo = { + brand: 'Adeo', + models: { + '9CZA-A806ST-Q1A': [features.light, features.brightness, features.color_temperature], // color xy + '9CZA-M350ST-Q1A': [features.light, features.brightness, features.color_temperature], // color xy + '9CZA-G1521-Q1A': [features.light, features.brightness, features.color_temperature], // color xy + }, +}; + +module.exports = { + Adeo, +}; diff --git a/server/services/zigbee2mqtt/model/index.js b/server/services/zigbee2mqtt/model/index.js index 4d3e4258fe..4c43011ab3 100644 --- a/server/services/zigbee2mqtt/model/index.js +++ b/server/services/zigbee2mqtt/model/index.js @@ -75,6 +75,7 @@ models.push(require('./iCasa').iCasa); models.push(require('./ilux').ilux); models.push(require('./TuYa').TuYa); models.push(require('./Lonsonho').Lonsonho); +models.push(require('./Adeo').Adeo); /** * @description Get features by model name.