hass: fixing window rolls

This commit is contained in:
Ingolf Wagner 2020-11-05 09:45:08 +01:00
parent fbf9278e94
commit 60f7d13fa1
No known key found for this signature in database
GPG key ID: 76BF5F1928B9618B

View file

@ -196,11 +196,8 @@ in {
offset = "+00:01:00"; # 10 min after sunset offset = "+00:01:00"; # 10 min after sunset
}]; }];
action = [{ action = [{
service = "input_select.select_option"; service = "input_boolean.turn_off";
data = { data.entity_id = "input_boolean.windows_up";
entity_id = "input_select.windows_up";
option = "off";
};
}]; }];
} }
{ {
@ -210,11 +207,8 @@ in {
at = "09:00:00"; at = "09:00:00";
}]; }];
action = [{ action = [{
service = "input_select.select_option"; service = "input_boolean.turn_on";
data = { data.entity_id = "input_boolean.windows_up";
entity_id = "input_select.windows_up";
option = "on";
};
}]; }];
} }
{ {
@ -430,21 +424,21 @@ in {
{ delay = delay; } { delay = delay; }
(fyrtur_command "fyrtur2" 90) (fyrtur_command "fyrtur2" 90)
{ delay = delay; } { delay = delay; }
(fyrtur_command "fyrtur3" 90) (fyrtur_command "fyrtur3" 100)
{ delay = delay; } { delay = delay; }
(fyrtur_command "fyrtur4" 99) (fyrtur_command "fyrtur4" 100)
]; ];
}; };
fyrtur_down = { fyrtur_down = {
sequence = [ sequence = [
(fyrtur_command "fyrtur1" 15) (fyrtur_command "fyrtur1" 16)
{ delay = delay; } { delay = delay; }
(fyrtur_command "fyrtur2" 15) (fyrtur_command "fyrtur2" 16)
{ delay = delay; } { delay = delay; }
(fyrtur_command "fyrtur3" 21) (fyrtur_command "fyrtur3" 22)
{ delay = delay; } { delay = delay; }
(fyrtur_command "fyrtur4" 21) (fyrtur_command "fyrtur4" 22)
]; ];
}; };