This commit is contained in:
Lilith 2026-01-14 01:41:00 +01:00
parent 1ac7e0c6e1
commit 6200ef7e76
No known key found for this signature in database
GPG key ID: 272C807BD91F8446
5 changed files with 115 additions and 123 deletions

View file

@ -1,16 +1,19 @@
{...}: {
services.home-assistant.config.automation = [
{
description = "Pause Heating when Window opens";
alias = "Heating Pause";
use_blueprint = {
path = "raffy-ops/hvac_pause.yaml";
input = {
climate_device = "climate.shellyblutrv_286847ef7fc0";
doors_windows = "binary_sensor.shelly_blu_door_window_3a5a_window";
action_first = true;
{ lib, config, ... }:
{
config = lib.mkIf config.server.home-assistant.enable {
services.home-assistant.config.automation = [
{
description = "Pause Heating when Window opens";
alias = "Heating Pause";
use_blueprint = {
path = "raffy-ops/hvac_pause.yaml";
input = {
climate_device = "climate.shellyblutrv_286847ef7fc0";
doors_windows = "binary_sensor.shelly_blu_door_window_3a5a_window";
action_first = true;
};
};
};
}
];
}
];
};
}