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