-
Notifications
You must be signed in to change notification settings - Fork 108
Expand file tree
/
Copy pathAlarmBaseOverrides.ts
More file actions
53 lines (47 loc) · 1.22 KB
/
AlarmBaseOverrides.ts
File metadata and controls
53 lines (47 loc) · 1.22 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
/**
* @license
* Copyright 2022-2026 Matter.js Authors
* SPDX-License-Identifier: Apache-2.0
*/
import { LocalMatter } from "../local.js";
LocalMatter.children.push({
tag: "cluster",
name: "AlarmBase",
until: "1.4.1",
children: [
/**
* The IDs in the "specification" for Notify fields are one off from defacto spec.
*/
{
tag: "event",
name: "Notify",
id: 0,
children: [
{
tag: "field",
name: "Active",
id: 0,
matchTo: { name: "Active" },
},
{
tag: "field",
name: "Inactive",
id: 1,
matchTo: { name: "Inactive" },
},
{
tag: "field",
name: "State",
id: 2,
matchTo: { name: "State" },
},
{
tag: "field",
name: "Mask",
id: 3,
matchTo: { name: "Mask" },
},
],
},
],
});