stuff
This commit is contained in:
parent
1ac7e0c6e1
commit
6200ef7e76
5 changed files with 115 additions and 123 deletions
|
|
@ -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;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
];
|
||||
}
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue