Automation help - stopping when

What I am trying to accomplish:
This is for my cottage when I am not there.
When temp drops below 11.8 deg C and its between 7pm and 7am (cheaper electricity at night)
Then slowly heat up (heat pump will kick on backup propane if the differential is greater then 2 deg.
Once the temp is 15 deg, stop and change the set point back to 10 deg, also want it to stop at 7am regardless and change the set point back to 10deg.

I have a feeling the way I have it will not work how I want it to, specifically the ending, should it be waiting until instead?

alias: Slow heat - away
description: ""
trigger:
  - platform: numeric_state
    entity_id: climate.upstairs
    attribute: current_temperature
    below: 11.8
condition:
  - condition: time
    before: "07:00:00"
    after: "19:00:00"
action:
  - service: climate.set_temperature
    data_template:
      entity_id: climate.upstairs
      temperature: "{{(state_attr('climate.upstairs' , 'current_temperature')) + 1 }}"
  - repeat:
      sequence:
        - delay:
            hours: 0
            minutes: 10
            seconds: 0
            milliseconds: 0
        - service: climate.set_temperature
          data_template:
            entity_id: climate.upstairs
            temperature: "{{(state_attr('climate.upstairs' , 'current_temperature')) + 1 }}"
      until:
        - condition: numeric_state
          entity_id: climate.upstairs
          attribute: current_temperature
          above: 15
  - if:
      - condition: or
        conditions:
          - condition: time
            before: "00:00:00"
            after: "06:55:00"
          - condition: numeric_state
            entity_id: climate.upstairs
            attribute: current_temperature
            above: 14.5
    then:
      - service: climate.set_temperature
        data:
          temperature: 10
        target:
          entity_id: climate.upstairs
mode: single

is this the same question as before? …did you try my ideas?

I don’t believe HA can currently handle a time condition spanning midnight so you have to do it other ways eg: split them into 2 conditions:

- if:
      - condition: or
        conditions:
          - condition: and
            conditions:
              - condition: time
                before: "00:00:00" # did you mean 07:00:00?
              - condition: time
                after: "06:55:00" # did you mean 18:55:00?
          - condition: numeric_state
            entity_id: climate.upstairs
            attribute: current_temperature
            above: 14.5

…something like that - again not at my PC right now so can’t test that for typos etc etc

by the way, did you mean that. No time is before 00:00:00 and every time is after it. Can you say what you mean in words and I can help you get it, but do you mean 23:59:59 (end of the day) or was this supposed to be 07:00:00? Same question for 06:55:00

I plan on integrating what you suggested into this.
I would have continued my other thread but it got completely side tracked.
Forgot to remove the before:00:00.

I will have one automation where I want it to slowly heat up for when I am on my way to cottage.
Then another one that is managing the temperature when I am not there, which is this one.
Where if the temp is below 12 and its between 7pm-7am then slowly heat to 15 deg. Will try your suggestion for this part.
Then at 7am drop the set point back down to 10deg. - This is where I am stuck on having both the slowly heat and this part as a part of the trigger.