Boost Heating Temperature for 30 minutes (HomeAssistant)
Initially roughly patched together in Musings on Home Automation this script is intended to work around the fact that Google's NEST Thermostat doesn't have a "boost" function - making it a bit tricky if you want a part of the house not containing the NEST thermostat to be able to call for heat.
The basic idea is that it will increase the NEST target temperature by a configurable amount for 30 minutes, causing the boiler to come on if it was off.
So that the script can track state, you need to create a number input with ID current_heating_target
and another with ID heating_boost_degrees
(set it to 5)
Details
- Language: HomeAssistant
Snippet
boost_heating:
alias: Boost Heating
sequence:
- service: input_number.set_value
data:
value: '{{ state_attr(''climate.downstairs'',''temperature'') }}'
entity_id: input_number.current_heating_target
- service: climate.set_temperature
data:
temperature: '{{ float(states(''input_number.current_heating_target'')) + float(states(''input_number.heating_boost_degrees''))
}}'
entity_id: climate.downstairs
- delay: 00:30
- service: climate.set_temperature
data:
temperature: '{{ float(states(''input_number.current_heating_target'')) }}'
entity_id: climate.downstairs
mode: single