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)) 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;