hass: lights wip

This commit is contained in:
Ingolf Wagner 2020-11-01 23:59:51 +01:00
parent 902df4d118
commit d974a4a94b
Signed by: palo
GPG key ID: 76BF5F1928B9618B
3 changed files with 10 additions and 9 deletions

View file

@ -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";

View file

@ -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;
};
}

View file

@ -21,6 +21,7 @@ in {
retain = false;
friendly_name = name;
transition = 1;
debounce = 0.5;
};
}) allDevices;