From b14203c24114c2b6a570d9068ff9e812871bb271 Mon Sep 17 00:00:00 2001 From: Rembock Date: Sat, 14 Sep 2024 00:16:25 +0200 Subject: [PATCH 1/2] Added support for IKEA INSPELNING (E2206) --- src/devices/ikea.ts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/devices/ikea.ts b/src/devices/ikea.ts index b890419c758ed..25a580ce47da4 100644 --- a/src/devices/ikea.ts +++ b/src/devices/ikea.ts @@ -30,6 +30,7 @@ import { commandsWindowCovering, deviceAddCustomCluster, deviceEndpoints, + electricityMeter, forcePowerSource, humidity, iasZoneAlarm, @@ -597,6 +598,13 @@ const definitions: DefinitionWithExtend[] = [ description: 'TRETAKT smart plug', extend: [addCustomClusterManuSpecificIkeaUnknown(), onOff(), identify(), ikeaOta()], }, + { + zigbeeModel: ['INSPELNING Smart plug'], + model: 'E2206', + vendor: 'IKEA', + description: 'INSPELNING smart plug', + extend: [addCustomClusterManuSpecificIkeaUnknown(), onOff(), identify(), ikeaOta(), electricityMeter()], + }, // #endregion on/off controls // #region blinds { From 6586b3c8316d7431b7d5dd26158109e4c850fd9d Mon Sep 17 00:00:00 2001 From: Rembock Date: Sat, 14 Sep 2024 00:47:52 +0200 Subject: [PATCH 2/2] fix code style issue --- src/devices/ikea.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/devices/ikea.ts b/src/devices/ikea.ts index 25a580ce47da4..f3aa2f88f98a3 100644 --- a/src/devices/ikea.ts +++ b/src/devices/ikea.ts @@ -604,7 +604,7 @@ const definitions: DefinitionWithExtend[] = [ vendor: 'IKEA', description: 'INSPELNING smart plug', extend: [addCustomClusterManuSpecificIkeaUnknown(), onOff(), identify(), ikeaOta(), electricityMeter()], - }, + }, // #endregion on/off controls // #region blinds {