Skip to content

Commit 30d1c5c

Browse files
committed
DDF clone for eWelink Contact Sensor CK-TLSR8656-SS5-01(7003)
1 parent 98e67dd commit 30d1c5c

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

devices/sonoff/snzb-04_open_close_sensor.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,20 @@
22
"schema": "devcap1.schema.json",
33
"uuid": "cd25fbd8-9b9b-4051-9c01-1c08a9d65203",
44
"manufacturername": [
5+
"eWeLink",
56
"eWeLink",
67
"zbeacon",
78
"eWeLink",
89
"eWeLink"
910
],
1011
"modelid": [
12+
"CK-TLSR8656-SS5-01(7003)",
1113
"DS01",
1214
"DS01",
1315
"SNZB-04P",
1416
"SNZB-04"
1517
],
16-
"vendor": "eWeLink",
18+
"vendor": "Sonoff/eWeLink",
1719
"product": "Open/close sensor (DS01)",
1820
"sleeper": true,
1921
"status": "Gold",
@@ -72,7 +74,7 @@
7274
"at": "0x0021",
7375
"cl": "0x0001",
7476
"ep": 1,
75-
"eval": "Item.val = Attr.val / 2;",
77+
"eval": "Item.val = Attr.val / 2",
7678
"fn": "zcl:attr"
7779
},
7880
"read": {
@@ -129,4 +131,4 @@
129131
"cl": "0x0500"
130132
}
131133
]
132-
}
134+
}

0 commit comments

Comments
 (0)