You can either have a seperate automation or put include it in the existing code like this.
alias: Temperature Control
description: ''
mode: single
trigger:
- platform: state
entity_id: sensor.home_temperature
- platform: time
at: '21:01:30'
- platform: time
at: '04:59:30'
condition: []
action:
- choose:
- conditions:
- condition: and
conditions:
- condition: time
after: '05:00:00'
before: '21:00:00'
- condition: template
value_template: '{{ states(''sensor.home_temperature'') | float >= 69}}'
sequence:
- service: climate.set_temperature
data:
temperature: 55
entity_id: 'climate.lr_daikin,climate.kitchen_ac'
- conditions:
- condition: and
conditions:
- condition: time
after: '05:00:00'
before: '21:00:00'
- condition: template
value_template: '{{ states(''sensor.home_temperature'')| float <= 68}}'
sequence:
- service: climate.set_temperature
data:
temperature: 75
entity_id: 'climate.lr_daikin,climate.kitchen_ac'
- conditions:
- condition: time
after: '21:01:00'
before: '21:02:00'
sequence:
- service: climate.set_temperature
data:
temperature: 55
entity_id: 'climate.lr_daikin,climate.kitchen_ac'
- conditions:
- condition: time
after: '04:59:00'
before: '05:00:00'
sequence:
- service: climate.set_hvac_mode
data:
hvac_mode: heat
entity_id: 'climate.lr_daikin,climate.kitchen_ac'
default: []