hass: lights wip
This commit is contained in:
parent
902df4d118
commit
d974a4a94b
3 changed files with 10 additions and 9 deletions
|
@ -132,14 +132,14 @@
|
|||
topic = "zigbee2mqtt/light_7";
|
||||
rooms = [ "sleeping_room" ];
|
||||
})
|
||||
(led {
|
||||
topic = "zigbee2mqtt/led_1";
|
||||
rooms = [ "office_room" ];
|
||||
})
|
||||
(led {
|
||||
topic = "zigbee2mqtt/led_2";
|
||||
rooms = [ "kitchen" ];
|
||||
})
|
||||
#(led {
|
||||
# topic = "zigbee2mqtt/led_1";
|
||||
# rooms = [ "office_room" ];
|
||||
#})
|
||||
#(led {
|
||||
# topic = "zigbee2mqtt/led_2";
|
||||
# rooms = [ "kitchen" ];
|
||||
#})
|
||||
|
||||
#(sonoff {
|
||||
# id = "PAL01";
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
mqttPassword = lib.fileContents <secrets/zigbee/password>;
|
||||
networkKey = import <secrets/home-assistant/zigbee/networkKey>;
|
||||
# only turn on for new devices, usually turn of for security reasons.
|
||||
discover = false;
|
||||
discover = true;
|
||||
};
|
||||
|
||||
}
|
||||
|
|
|
@ -21,6 +21,7 @@ in {
|
|||
retain = false;
|
||||
friendly_name = name;
|
||||
transition = 1;
|
||||
debounce = 0.5;
|
||||
};
|
||||
}) allDevices;
|
||||
|
||||
|
|
Loading…
Reference in a new issue