dotfiles/nixng/containers/home-assistant/configs/automations/bathroom_light/on.nix

25 lines
468 B
Nix
Raw Normal View History

{
alias = "Light On";
description = "";
id = "1330a1c7-3f3f-488e-8aba-aea8937236ce";
trigger = [{
device_id = "bf6aed0be7735065cddf5a0c11629661";
discovery_id = "0x540f57fffe3c601d action_on";
domain = "mqtt";
platform = "device";
subtype = "on";
type = "action";
}];
condition = [ ];
action = [{
data = { };
service = "light.turn_on";
target = { entity_id = "light.bathroom_lights"; };
}];
mode = "single";
}