From 93912068a04757fc6e5a912f9a48b103e6b5ac1b Mon Sep 17 00:00:00 2001 From: Daniel Henk Date: Tue, 11 Jul 2023 18:11:01 +0200 Subject: [PATCH 1/2] Update TradfriControlOutlet device ids Update TradfriControlOutlet device ids --- AppBroker.Zigbee2Mqtt/Devices/TradfriControlOutlet.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AppBroker.Zigbee2Mqtt/Devices/TradfriControlOutlet.cs b/AppBroker.Zigbee2Mqtt/Devices/TradfriControlOutlet.cs index 15b97c5..75d5643 100644 --- a/AppBroker.Zigbee2Mqtt/Devices/TradfriControlOutlet.cs +++ b/AppBroker.Zigbee2Mqtt/Devices/TradfriControlOutlet.cs @@ -4,7 +4,7 @@ namespace AppBroker.Zigbee2Mqtt.Devices; -[DeviceName("E1603/E1702")] +[DeviceName("E1603/E1702", "E1603/E1702/E1708", "E1603", "E1702", "E1708")] public class TradfriControlOutlet : ZigbeeSwitch { public TradfriControlOutlet(Zigbee2MqttDeviceJson device, long nodeId) : base(device, nodeId, nameof(TradfriControlOutlet)) From 049a7879ab02edc5d8fc17aecda17e60e5cc0892 Mon Sep 17 00:00:00 2001 From: Daniel Henk Date: Tue, 11 Jul 2023 19:03:49 +0200 Subject: [PATCH 2/2] Fixes switch, as the app was not updated --- AppBroker.Zigbee2Mqtt/Devices/ZigbeeSwitch.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/AppBroker.Zigbee2Mqtt/Devices/ZigbeeSwitch.cs b/AppBroker.Zigbee2Mqtt/Devices/ZigbeeSwitch.cs index eaee046..7248baa 100644 --- a/AppBroker.Zigbee2Mqtt/Devices/ZigbeeSwitch.cs +++ b/AppBroker.Zigbee2Mqtt/Devices/ZigbeeSwitch.cs @@ -22,6 +22,7 @@ public override async Task UpdateFromApp(Command command, List parameter switch (command) { case Command.On: + case Command.SingleColor: SetState("state", true); await zigbeeManager.SetValue(FriendlyName, "state", "ON"); break;