Fix Syntax
This commit is contained in:
@@ -146,7 +146,7 @@ automation:
|
|||||||
trigger:
|
trigger:
|
||||||
- platform: time
|
- platform: time
|
||||||
at: input_datetime.hvac_start_night
|
at: input_datetime.hvac_start_night
|
||||||
conditions: "{{ not is_state('input_select.house_presence_state', 'Extended Away') }}"
|
condition: "{{ not is_state('input_select.house_presence_state', 'Extended Away') }}"
|
||||||
action:
|
action:
|
||||||
- service: climate.set_temperature
|
- service: climate.set_temperature
|
||||||
target:
|
target:
|
||||||
@@ -160,7 +160,7 @@ automation:
|
|||||||
trigger:
|
trigger:
|
||||||
- platform: time
|
- platform: time
|
||||||
at: input_datetime.hvac_start_day
|
at: input_datetime.hvac_start_day
|
||||||
conditions: "{{ not is_state('input_select.house_presence_state', 'Extended Away') }}"
|
condition: "{{ not is_state('input_select.house_presence_state', 'Extended Away') }}"
|
||||||
action:
|
action:
|
||||||
- service: climate.set_temperature
|
- service: climate.set_temperature
|
||||||
target:
|
target:
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ automation:
|
|||||||
- platform: sun
|
- platform: sun
|
||||||
event: sunset
|
event: sunset
|
||||||
offset: '-00:30:00'
|
offset: '-00:30:00'
|
||||||
conditions: "{{ is_state('input_select.house_presence_state', 'Extended Away') }}"
|
condition: "{{ is_state('input_select.house_presence_state', 'Extended Away') }}"
|
||||||
action:
|
action:
|
||||||
- delay: "00:{{ range(0,59)|random|int }}:00"
|
- delay: "00:{{ range(0,59)|random|int }}:00"
|
||||||
- service: light.turn_on
|
- service: light.turn_on
|
||||||
@@ -22,7 +22,7 @@ automation:
|
|||||||
trigger:
|
trigger:
|
||||||
- platform: time
|
- platform: time
|
||||||
at: '18:30:00'
|
at: '18:30:00'
|
||||||
conditions: "{{ is_state('input_select.house_presence_state', 'Extended Away') }}"
|
condition: "{{ is_state('input_select.house_presence_state', 'Extended Away') }}"
|
||||||
action:
|
action:
|
||||||
- delay: "00:{{ range(0,59)|random|int }}:00"
|
- delay: "00:{{ range(0,59)|random|int }}:00"
|
||||||
- service: light.turn_off
|
- service: light.turn_off
|
||||||
@@ -39,7 +39,7 @@ automation:
|
|||||||
trigger:
|
trigger:
|
||||||
- platform: time
|
- platform: time
|
||||||
at: '20:30:00'
|
at: '20:30:00'
|
||||||
conditions: "{{ is_state('input_select.house_presence_state', 'Extended Away') }}"
|
condition: "{{ is_state('input_select.house_presence_state', 'Extended Away') }}"
|
||||||
action:
|
action:
|
||||||
- delay: "00:{{ range(0,59)|random|int }}:00"
|
- delay: "00:{{ range(0,59)|random|int }}:00"
|
||||||
- service: light.turn_off
|
- service: light.turn_off
|
||||||
|
|||||||
Reference in New Issue
Block a user