Skip to content

Commit e9d685c

Browse files
committed
1 parent cb999b4 commit e9d685c

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

custom_components/xiaomi_gateway3/core/devices.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1911,6 +1911,14 @@
19111911
BaseConv("not_present_time_set", mi="2.p.1064"), # uint32, seconds
19121912
# BaseConv("led", "sensor", mi="4.p.1"), # bool
19131913
],
1914+
}, {
1915+
28377: ["Linptech", "Presence Sensor ES5", "ES5DB", "linp.sensor_occupy.es4b"],
1916+
"spec": [
1917+
# main sensors
1918+
BoolConv("occupancy", "binary_sensor", mi="2.p.1078"),
1919+
BaseConv("illuminance", "sensor", mi="2.p.1005"),
1920+
BaseConv("led", "switch", mi="3.p.3"),
1921+
],
19141922
}, {
19151923
6281: ["Linptech", "Door/Window Sensor", "MS1BB", "linp.magnet.m1"],
19161924
"spec": [

0 commit comments

Comments
 (0)