mirror of
https://github.com/starr-dusT/dotfiles.git
synced 2025-02-19 19:27:31 -08:00
remove nix defined automations for homeassistant
This commit is contained in:
parent
f09ab8fab6
commit
6c5604eaa1
@ -1,62 +1,6 @@
|
|||||||
{ config, lib, pkgs, user, ... }:
|
{ config, lib, pkgs, user, ... }:
|
||||||
{
|
{
|
||||||
services.home-assistant.config = {
|
services.home-assistant.config = {
|
||||||
"automation manual" = [
|
|
||||||
{
|
|
||||||
alias = "turn on christmas lights";
|
|
||||||
trigger = {
|
|
||||||
platform = "time";
|
|
||||||
at = "16:45";
|
|
||||||
};
|
|
||||||
action = [
|
|
||||||
{
|
|
||||||
type = "turn_on";
|
|
||||||
device_id = "32bf8baf1214391472566d4300c7d6fb";
|
|
||||||
entity_id = "72c7694c3a3aed5d67499bfe0574346b";
|
|
||||||
domain = "switch";
|
|
||||||
}
|
|
||||||
{
|
|
||||||
type = "turn_on";
|
|
||||||
device_id = "08db6bd9e7bf98d5bf1b08351b909c94";
|
|
||||||
entity_id = "ecec82df2265c6b92c8474fe0c9fde6b";
|
|
||||||
domain = "switch";
|
|
||||||
}
|
|
||||||
{
|
|
||||||
type = "turn_on";
|
|
||||||
device_id = "f3da07b98e397fba271d2ee7016134b7";
|
|
||||||
entity_id = "d23d2fc18b7cb7bab0f1075b55ca5df5";
|
|
||||||
domain = "switch";
|
|
||||||
}
|
|
||||||
];
|
|
||||||
}
|
|
||||||
{
|
|
||||||
alias = "turn off christmas lights";
|
|
||||||
trigger = {
|
|
||||||
platform = "time";
|
|
||||||
at = "23:59";
|
|
||||||
};
|
|
||||||
action = [
|
|
||||||
{
|
|
||||||
type = "turn_off";
|
|
||||||
device_id = "32bf8baf1214391472566d4300c7d6fb";
|
|
||||||
entity_id = "72c7694c3a3aed5d67499bfe0574346b";
|
|
||||||
domain = "switch";
|
|
||||||
}
|
|
||||||
{
|
|
||||||
type = "turn_off";
|
|
||||||
device_id = "08db6bd9e7bf98d5bf1b08351b909c94";
|
|
||||||
entity_id = "ecec82df2265c6b92c8474fe0c9fde6b";
|
|
||||||
domain = "switch";
|
|
||||||
}
|
|
||||||
{
|
|
||||||
type = "turn_off";
|
|
||||||
device_id = "f3da07b98e397fba271d2ee7016134b7";
|
|
||||||
entity_id = "d23d2fc18b7cb7bab0f1075b55ca5df5";
|
|
||||||
domain = "switch";
|
|
||||||
}
|
|
||||||
];
|
|
||||||
}
|
|
||||||
];
|
|
||||||
"automation ui" = "!include automations.yaml";
|
"automation ui" = "!include automations.yaml";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user