Skip to content

Commit

Permalink
fix: Fix E2206 OTA Koenkk/zigbee2mqtt.io#3067
Browse files Browse the repository at this point in the history
  • Loading branch information
Koenkk committed Oct 5, 2024
1 parent 675a0f3 commit af93115
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/devices/ikea.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,11 @@ import {
linkQuality,
occupancy,
onOff,
ota,
pm25,
temperature,
windowCovering,
} from '../lib/modernExtend';
import * as ota from '../lib/ota';
import {DefinitionWithExtend} from '../lib/types';

const definitions: DefinitionWithExtend[] = [
Expand Down Expand Up @@ -602,7 +602,7 @@ const definitions: DefinitionWithExtend[] = [
model: 'E2206',
vendor: 'IKEA',
description: 'INSPELNING smart plug',
extend: [addCustomClusterManuSpecificIkeaUnknown(), onOff(), identify(), ikeaOta(), electricityMeter()],
extend: [addCustomClusterManuSpecificIkeaUnknown(), onOff(), identify(), ota(), electricityMeter()],
},
// #endregion on/off controls
// #region blinds
Expand Down Expand Up @@ -883,8 +883,8 @@ const definitions: DefinitionWithExtend[] = [
model: 'E2112',
vendor: 'IKEA',
description: 'VINDSTYRKA air quality and humidity sensor',
ota: ota.zigbeeOTA,
extend: [
ota(),
addCustomClusterManuSpecificIkeaUnknown(),
addCustomClusterManuSpecificIkeaVocIndexMeasurement(),
deviceAddCustomCluster('pm25Measurement', {
Expand Down

0 comments on commit af93115

Please sign in to comment.