mirror of
https://git.sr.ht/~magic_rb/dotfiles
synced 2024-12-02 21:16:15 +01:00
25 lines
472 B
Nix
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";
|
||
|
}
|