Skip to content

Commit 78a852c

Browse files
authored
feat(add): BEE PIR 1 (#11395)
1 parent 1f1a117 commit 78a852c

2 files changed

Lines changed: 14 additions & 0 deletions

File tree

src/devices/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -316,6 +316,7 @@ import {definitions as technicolor} from "./technicolor";
316316
import {definitions as terncy} from "./terncy";
317317
import {definitions as theLightGroup} from "./the_light_group";
318318
import {definitions as thirdReality} from "./third_reality";
319+
import {definitions as tisControl} from "./tis_control";
319320
import {definitions as titanProducts} from "./titan_products";
320321
import {definitions as tlwglobal} from "./tlwglobal";
321322
import {definitions as tnce} from "./tnce";
@@ -676,6 +677,7 @@ const definitions: DefinitionWithExtend[] = [
676677
...terncy,
677678
...theLightGroup,
678679
...thirdReality,
680+
...tisControl,
679681
...titanProducts,
680682
...tlwglobal,
681683
...tnce,

src/devices/tis_control.ts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
import * as m from "../lib/modernExtend";
2+
import type {DefinitionWithExtend} from "../lib/types";
3+
4+
export const definitions: DefinitionWithExtend[] = [
5+
{
6+
zigbeeModel: ["ED6XX"],
7+
model: "BEE PIR 1",
8+
vendor: "TIS Control",
9+
description: "PIR Sensor",
10+
extend: [m.battery(), m.iasZoneAlarm({zoneType: "occupancy", zoneAttributes: ["alarm_1", "tamper", "battery_low"]})],
11+
},
12+
];

0 commit comments

Comments
 (0)