This commit is contained in:
2024-07-24 11:55:00 +02:00
parent fdda6d3caa
commit a54a56ca6a
13 changed files with 84 additions and 24 deletions

View File

@@ -7,12 +7,23 @@
platform = "time";
at = "input_datetime.wakeup";
};
action = {
service_template = "switch.turn_on";
data_template = {
action = [
{
service = "switch.turn_on";
entity_id = "switch.coffee";
};
};
}
{
delay = 1700;
}
{
service = "switch.turn_on";
entity_id = "switch.78_8c_b5_fe_41_62_port_2_poe"; # livingroom
}
{
service = "switch.turn_on";
entity_id = "switch.78_8c_b5_fe_41_62_port_3_poe"; # garden
}
];
};
"automation sleep" = {
alias = "sleep";
@@ -44,12 +55,16 @@
entity_id = "all";
}
{
service = "light.turn_on";
entity_id = "light.bedroom_bed";
service = "switch.turn_off";
entity_id = "switch.coffee";
}
{
service = "switch.turn_off";
entity_id = "switch.coffee";
entity_id = "switch.78_8c_b5_fe_41_62_port_2_poe";
}
{
service = "switch.turn_off";
entity_id = "switch.78_8c_b5_fe_41_62_port_3_poe";
}
];
}