Skip to content

Commit

Permalink
fix: Fix IKEA E2112 OTA (#7562)
Browse files Browse the repository at this point in the history
  • Loading branch information
samuli-as authored May 27, 2024
1 parent 0427cb9 commit 3a1e1f1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/devices/ikea.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import {Zcl} from 'zigbee-herdsman';
import {Definition} from '../lib/types';
import * as ota from '../lib/ota';
import {
onOff, battery, iasZoneAlarm, identify, forcePowerSource,
temperature, humidity, occupancy, illuminance, windowCovering,
Expand Down Expand Up @@ -942,6 +943,7 @@ const definitions: Definition[] = [
model: 'E2112',
vendor: 'IKEA',
description: 'VINDSTYRKA air quality and humidity sensor',
ota: ota.zigbeeOTA,
extend: [
deviceAddCustomCluster(
'pm25Measurement',
Expand All @@ -959,7 +961,6 @@ const definitions: Definition[] = [
pm25({reporting: {min: '1_MINUTE', max: '2_MINUTES', change: 2}}),
ikeaVoc(),
identify(),
ikeaOta(),
],
},
{
Expand Down

0 comments on commit 3a1e1f1

Please sign in to comment.