dotfiles/nixng/containers/home-assistant/configs/automations/bathroom_light/off.nix
Magic_RB 47ad385ca2 Add the NixNG containers for Home Assistant
Signed-off-by: Magic_RB <magic_rb@redalder.org>
2023-06-16 16:08:09 +02:00

25 lines
472 B
Nix

{
alias = "Light Off";
description = "";
id = "5f773a4d-5a52-4483-a49d-9c0944ea0b21";
trigger = [{
device_id = "bf6aed0be7735065cddf5a0c11629661";
discovery_id = "0x540f57fffe3c601d action_off";
domain = "mqtt";
platform = "device";
subtype = "off";
type = "action";
}];
condition = [ ];
action = [{
data = { };
service = "light.turn_off";
target = { entity_id = "light.bathroom_lights"; };
}];
mode = "single";
}