mirror of
https://git.sr.ht/~magic_rb/cluster
synced 2024-11-24 00:56:16 +01:00
25 lines
468 B
Nix
25 lines
468 B
Nix
|
{
|
||
|
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";
|
||
|
}
|