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";
|
topic = "zigbee2mqtt/light_7";
|
||||||
rooms = [ "sleeping_room" ];
|
rooms = [ "sleeping_room" ];
|
||||||
})
|
})
|
||||||
(led {
|
#(led {
|
||||||
topic = "zigbee2mqtt/led_1";
|
# topic = "zigbee2mqtt/led_1";
|
||||||
rooms = [ "office_room" ];
|
# rooms = [ "office_room" ];
|
||||||
})
|
#})
|
||||||
(led {
|
#(led {
|
||||||
topic = "zigbee2mqtt/led_2";
|
# topic = "zigbee2mqtt/led_2";
|
||||||
rooms = [ "kitchen" ];
|
# rooms = [ "kitchen" ];
|
||||||
})
|
#})
|
||||||
|
|
||||||
#(sonoff {
|
#(sonoff {
|
||||||
# id = "PAL01";
|
# id = "PAL01";
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
mqttPassword = lib.fileContents <secrets/zigbee/password>;
|
mqttPassword = lib.fileContents <secrets/zigbee/password>;
|
||||||
networkKey = import <secrets/home-assistant/zigbee/networkKey>;
|
networkKey = import <secrets/home-assistant/zigbee/networkKey>;
|
||||||
# only turn on for new devices, usually turn of for security reasons.
|
# only turn on for new devices, usually turn of for security reasons.
|
||||||
discover = false;
|
discover = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -21,6 +21,7 @@ in {
|
||||||
retain = false;
|
retain = false;
|
||||||
friendly_name = name;
|
friendly_name = name;
|
||||||
transition = 1;
|
transition = 1;
|
||||||
|
debounce = 0.5;
|
||||||
};
|
};
|
||||||
}) allDevices;
|
}) allDevices;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue