Boost Heating Temperature for 30 minutes



Published: 2021-01-16 09:53:08 +0000
Categories: HomeAssistant,

Language

HomeAssistant

Description

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)

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

Keywords

heating, boost, NEST, homeassistant, hass.io,

Latest Posts


Copyright © 2021 Ben Tasker | Sitemap | Privacy Policy
Available at snippets.bentasker.co.uk and http://phecoopwm6x7azx26ctuqcp6673bbqkrqfeoiz2wwk36sady5tqbdpqd.onion