Change thermostat temp based on time

I have a home assitant setup with 3 z wave honeywell thermostats. I am new to home assistant, but familiar with coding in similar languages as the scripts I have seen.

I am really struggling with what I would assume would be simple. How do I setup a simple automation to change the thermostat settings based on time of day?

how about showing us what you have done so far.

first we need a trigger

  trigger:
    - platform: time
      at: '07:00:00'

then we need a condition cant think of any at this point on time.

condition: []

then the action

  action:
  - data:
      entity_id: climate.cupboard_heater
      temperature: '30'
    service: climate.set_temperature

mite need a delay in there

  - delay: '12:00:00'

now set back to what it should be

  - data:
      entity_id: climate.cupboard_heater
      temperature: '23'
    service: climate.set_temperature

Got the trigger.

at: '9:00'
platform: time

don’t need a condition, that I know of

Here is where I am confused. , where do the type’s and preset info stuff come from? See below, just not sure where these entities are defined, of course the only things that automatically pop up are change from heat to cool or something like that, no option that I see that changes setpoint temp. Any ideas?

device_id: 22bdac4b6cea4466a1f4954da0d62a8f
domain: climate
entity_id: climate.honeywell_th6320zw2003_t6_pro_series_thermostat_temperature
type: set_preset_mode
preset_mode: 70

I found this on this forum. Simple Thermostat Scheduler. It’s a python script that I call from an HA automation, every 10 minutes. I heavily modified it to do heating and cooling as well as temporary holds but it works perfectly fine as is for a basic scheduler.

What you want to do is go into the developer section of HA and go to the services tab. Check under climate. and maybe Honeywell and you should see all available ‘call’ commands. When you choose one it will even give you an example below.

Here is an example from my developer.

1 Like

Ok, now I at least understand how to get some of the commands, but it still doesn’t work. No commands for honey well.

using the example I put in:

device_id: 22bdac4b6cea4466a1f4954da0d62a8f
domain: climate
entity_id: climate.honeywell_th6320zw2003_t6_pro_series_thermostat_mode
temperature: 75
hvac_mode: cool

but I get the following error:
Message malformed: extra keys not allowed @ data[‘temperature’]

Anyone else have any other ideas? The faceplate on lovelace ui changes temperature, why can I not write the code to do the same. The thermostat is a honeywell t6

This is my code for a Honeywell T6 pro

using helpers that provide UI input:

image

and the using the UI and some YAML code setting the temperature using a template:

alias: LogicForCool New
sequence:
  - choose:
      - conditions:
          - condition: state
            entity_id: input_boolean.cool_allowed
            state: 'off'
        sequence: []
      - conditions:
          - condition: template
            value_template: >-
              {{is_state('input_boolean.house_occupied', 'off') and
              is_state('input_boolean.omw_home', 'off')}}
        sequence:
          - service: climate.set_temperature
            data:
              temperature: '{{states.input_number.cool_unoccupied.state}}'
            target:
              entity_id: climate.t6_pro_z_wave_programmable_thermostat
          - service: input_number.set_value
            data:
              value: '{{states.input_number.cool_unoccupied.state}}'
            target:
              entity_id: input_number.target_temp
      - conditions:
          - condition: state
            entity_id: input_boolean.house_bed_time
            state: 'off'
        sequence:
          - service: climate.set_temperature
            data:
              temperature: '{{states.input_number.cool_occupied.state}}'
            target:
              entity_id: climate.t6_pro_z_wave_programmable_thermostat
          - service: input_number.set_value
            data:
              value: '{{states.input_number.cool_occupied.state}}'
            target:
              entity_id: input_number.target_temp
      - conditions:
          - condition: state
            entity_id: input_boolean.house_bed_time
            state: 'on'
        sequence:
          - service: climate.set_temperature
            data:
              temperature: '{{states.input_number.cool_occupied_bed_time.state}}'
            target:
              entity_id: climate.t6_pro_z_wave_programmable_thermostat
          - service: input_number.set_value
            data:
              value: '{{states.input_number.cool_occupied_bed_time.state}}'
            target:
              entity_id: input_number.target_temp
    default: []
  - delay:
      hours: 0
      minutes: 0
      seconds: 10
      milliseconds: 0
mode: single
icon: mdi:home-thermometer
1 Like