@ -231,8 +231,8 @@ automation:
below : 76
below : 76
condition:
condition:
- condition : state
- condition : state
entity_id : binary_sensor. grid_status
entity_id : binary_sensor. powerwall_ grid_status
state : ' normal '
state : ' on '
action:
action:
- delay : "00:03:00"
- delay : "00:03:00"
- service : climate.set_temperature
- service : climate.set_temperature
@ -256,8 +256,8 @@ automation:
entity_id : binary_sensor.sleepnumber_carlo_stacey_is_in_bed
entity_id : binary_sensor.sleepnumber_carlo_stacey_is_in_bed
state : 'on'
state : 'on'
- condition : state
- condition : state
entity_id : binary_sensor. grid_status
entity_id : binary_sensor. powerwall_ grid_status
state : ' normal '
state : ' on '
- condition : state
- condition : state
entity_id : sun.sun
entity_id : sun.sun
state : 'below_horizon'
state : 'below_horizon'
@ -292,8 +292,8 @@ automation:
entity_id : input_boolean.guest_mode
entity_id : input_boolean.guest_mode
state : 'off'
state : 'off'
- condition : state
- condition : state
entity_id : binary_sensor. grid_status
entity_id : binary_sensor. powerwall_ grid_status
state : ' normal '
state : ' on '
action:
action:
- service : climate.set_hvac_mode
- service : climate.set_hvac_mode
data:
data:
@ -348,8 +348,8 @@ automation:
entity_id : input_boolean.guest_mode
entity_id : input_boolean.guest_mode
state : 'off'
state : 'off'
- condition : state
- condition : state
entity_id : binary_sensor. grid_status
entity_id : binary_sensor. powerwall_ grid_status
state : ' normal '
state : ' on '
action:
action:
- service : climate.set_preset_mode
- service : climate.set_preset_mode
data:
data:
@ -375,8 +375,8 @@ automation:
at : "03:00:00"
at : "03:00:00"
condition:
condition:
- condition : state
- condition : state
entity_id : binary_sensor. grid_status
entity_id : binary_sensor. powerwall_ grid_status
state : ' normal '
state : ' on '
action:
action:
- service : climate.set_hvac_mode
- service : climate.set_hvac_mode
data:
data:
@ -408,8 +408,8 @@ automation:
- condition : template # Only run if AC is idle (prevents fighting other automations)
- condition : template # Only run if AC is idle (prevents fighting other automations)
value_template : "{{ state_attr('climate.downstairs', 'hvac_action') == 'idle' }}"
value_template : "{{ state_attr('climate.downstairs', 'hvac_action') == 'idle' }}"
- condition : state # Never run if the grid is down and running on powerwall.
- condition : state # Never run if the grid is down and running on powerwall.
entity_id : binary_sensor. grid_status
entity_id : binary_sensor. powerwall_ grid_status
state : ' normal '
state : ' on '
action:
action:
- service : climate.set_preset_mode
- service : climate.set_preset_mode
data:
data: