Boost heating cancelling heating automation for 1 hour

Hi

I would like to create a button on dash board which when pressed turns on the heating for an hour and then turns off my heating automation which is already running. After the hour period. The boost button stops and the automation for the heating will carry on as normal. Simulating the boost option you get on a standard thermostat.

I have had no luck just going round in circles any ideas would be very much appreciated

Hiya
I used an automation that uses a timer to do this. I have a 1 hr boost button and a 2 hr boost button.

this is my automation

alias: Heating Boost (1hr)
description: "Turn Heating On, set temp of 22 for 1 hr then turn off. "
trigger:
  - platform: state
    entity_id:
      - input_button.heating_1hr_boost
    id: Heating 1hr boost start
  - platform: event
    event_type: timer.finished
    event_data:
      entity_id: timer.1_hr_heating_timer
    id: Heating 1hr boost stopped
condition:
  - condition: state
    entity_id: binary_sensor.anyone_home
    state: "on"
action:
  - choose:
      - conditions:
          - condition: state
            entity_id: climate.heating
            state: "off"
          - condition: trigger
            id: Heating 1hr boost start
        sequence:
          - service: timer.start
            data: {}
            target:
              entity_id: timer.1_hr_heating_timer
          - service: climate.turn_on
            data: {}
            target:
              entity_id: climate.heating
          - delay:
              hours: 0
              minutes: 0
              seconds: 5
              milliseconds: 0
          - service: climate.set_temperature
            data:
              temperature: 22
              hvac_mode: heat
            target:
              entity_id: climate.heating
          - service: tts.cloud_say
            data:
              entity_id: media_player.kitchen_display
              message: One hour heating boost is on
              cache: true
          - service: notify.ally_paul_devices
            data:
              message: 1 hr Heating Boost is on
              title: Heating
          - service: persistent_notification.create
            data:
              message: 1 Hr Heating Boost is On
              title: Heating
              notification_id: "001"
      - conditions:
          - condition: trigger
            id: Heating 1hr boost stopped
        sequence:
          - service: climate.turn_off
            data: {}
            target:
              entity_id: climate.heating
          - service: notify.ally_paul_devices
            data:
              message: 1 Hr Heating Boost is Off
              title: Heating
          - service: persistent_notification.create
            data:
              message: Heating Is off
              title: Heating
              notification_id: "001"
          - service: tts.cloud_say
            data:
              entity_id: media_player.kitchen_display
              message: Heating Boost is off
mode: single

This also checks to see if we are home and sends notification when it starts and when it stops. i also have another button that can cancel timers and boost.

It works quite well. it probally could be done better but it work๐Ÿ˜

Hope this helps

Let me no if ya need anymore info

cheers mate
that looks awesome. ill look at trying to use it. have you created a list of devices call ally_paul_devices? and what is rrs.cloud_say used for mate

Yeah

ally_paul hust lets me notify both of us. its a group i have had setup in configuration.yaml for forever๐Ÿ˜

  - platform: group
    name: ally_paul_devices
    services:
      - service: mobile_app_pixel_7_pro
      - service: mobile_app_allys_1_phone

the tts.cloud_say is to anounce it on my wee google display. i also do a persistant notification in home assistant. that also shows on phone. just lets ya see when it starts and finishes

You also need a wee timer helper setup for each boost. set them up in your devices&services/helpers

make sure you have restore ticked. means that if reboot happens during timer it will remember where it was

again.

Need any help ya know where i am

:ok_hand::grin:

i had to re do my dashboard and trying to re do this as it was good before. can you see below any reason why this wont call the 4 rooms to heat when i press run on the automation.

id: โ€˜1731712576558โ€™
alias: heating boost automation 1 hour
description: 'Turn Heating On, set temp of 22 for 1 hr then turn off. โ€™
triggers:

  • entity_id:
    • input_button.heating_1hr_boost
      id: Heating 1hr boost start
      trigger: state
      from: โ€˜offโ€™
      to: โ€˜onโ€™
      actions:
  • choose:
    • conditions:
      • condition: trigger
        id: Heating 1hr boost start
        sequence:
      • data: {}
        target:
        entity_id: timer.1_hr_heating_timer
        action: timer.start
      • data: {}
        action: climate.turn_on
        target:
        entity_id:
        - climate.cot_room
        - climate.living_room
        - climate.our_room
        - climate.maeves_room
      • delay:
        hours: 0
        minutes: 0
        seconds: 5
        milliseconds: 0
      • data:
        temperature: 24
        hvac_mode: heat
        target:
        entity_id:
        - climate.cot_room
        - climate.living_room
        - climate.our_room
        - climate.maeves_room
        action: climate.set_temperature
      • data:
        message: 1 Hr Heating Boost is On
        title: Heating
        notification_id: โ€˜001โ€™
        action: persistent_notification.create
    • conditions:
      • condition: trigger
        id: Heating 1hr boost stopped
        sequence:
      • data: {}
        target:
        entity_id:
        - climate.cot_room
        - climate.living_room
        - climate.our_room
        - climate.maeves_room
        action: climate.turn_off
      • data:
        message: Heating Is off
        title: Heating
        notification_id: โ€˜001โ€™
        action: persistent_notification.create
        mode: single

cheers for your help