light-control: add motion to floor

This commit is contained in:
Ingolf Wagner 2020-07-12 16:17:56 +02:00
parent 49d523a584
commit 4db10f6c37
No known key found for this signature in database
GPG key ID: 76BF5F1928B9618B

View file

@ -58,7 +58,7 @@
})
(motion {
topic = "zigbee2mqtt/motion_sensor_1";
room = "kitchen_room";
room = "kitchen";
})
(motion {
topic = "zigbee2mqtt/motion_sensor_3";
@ -76,13 +76,17 @@
topic = "zigbee2mqtt/motion_sensor_8";
room = "bath_room";
})
(motion {
topic = "zigbee2mqtt/motion_sensor_6";
room = "floor";
})
(door {
topic = "zigbee2mqtt/door_sensor_2";
room = "floor_room";
room = "floor";
})
(door {
topic = "zigbee2mqtt/door_sensor_4";
room = "floor_room";
room = "floor";
})
];
switches = let
@ -114,11 +118,11 @@
in [
(light {
topic = "zigbee2mqtt/light_1";
rooms = [ "floor_room" ];
rooms = [ "floor" ];
})
(light {
topic = "zigbee2mqtt/light_2";
rooms = [ "floor_room" ];
rooms = [ "floor" ];
})
(light {
topic = "zigbee2mqtt/light_3";
@ -148,7 +152,7 @@
})
(sonoff {
id = "PAL06";
rooms = [ "kitchen_room" ];
rooms = [ "kitchen" ];
})
# monitor and speakers
(sonoff {