nixos-config/2configs/bureautomation/binary_sensor/motion.nix
2019-03-06 16:42:27 +01:00

13 lines
295 B
Nix

[
{ platform = "mqtt";
device_class = "motion";
name = "Motion";
state_topic = "/bam/easy2/movement/Switch";
payload_on = "1";
payload_off = "0";
availability_topic = "/bam/easy2/tele/LWT";
payload_available = "Online";
payload_not_available = "Offline";
}
]