Don't turn basement heat on if it was off
This commit is contained in:
17
scripts.yaml
17
scripts.yaml
@ -199,11 +199,18 @@ going_upstairs:
|
|||||||
then:
|
then:
|
||||||
- alias: Decide basement studio heater action
|
- alias: Decide basement studio heater action
|
||||||
if:
|
if:
|
||||||
- condition: numeric_state
|
- alias: If temp below freezing and heat is on
|
||||||
entity_id: weather.iron_nerd_weather_station
|
condition: and
|
||||||
attribute: temperature
|
conditions:
|
||||||
below: 32
|
- condition: numeric_state
|
||||||
alias: Temperature below freezing
|
entity_id: weather.iron_nerd_weather_station
|
||||||
|
attribute: temperature
|
||||||
|
below: 32
|
||||||
|
alias: Temperature below freezing
|
||||||
|
- condition: state
|
||||||
|
entity_id: climate.basement_studio_vtherm
|
||||||
|
state: heat
|
||||||
|
alias: Heat on
|
||||||
then:
|
then:
|
||||||
- action: climate.set_preset_mode
|
- action: climate.set_preset_mode
|
||||||
metadata: {}
|
metadata: {}
|
||||||
|
Reference in New Issue
Block a user