Need help automating thermostat setpoints

Hey Everyone. First off thanks to all the brilliant people here that have got me this far! I’ve successfully setup zwave and started communicating with my GoControl GC-TBZ48 thermostat. I have a card that looks like this and I can open items and change set points just fine.

However, in order to make this more useful I need to get some automation going. I’ve tried examples here and they’re just too complicated for me to get working on my own. I’m new to yaml. :slight_smile:

The thermostat detects as follow:

Other states are:
climate.linear_tbz48_cooling_1_2_2, climate.linear_tbz48_cooling_econ_2_12, climate.linear_tbz48_heating_econ_2_11, sensor.linear_tbz48_temperature_2_1

It seems that I can modify any of the heat/cool states and it affects the thermostat.

I’d like to create a simple to understand schedule I can easily modify. Modifying from a card would be a dream come true but for now I’ll settle for coding. I tried some simple automation already and it doesn’t appear to be working. Thoughts?
…from automation.yaml

  - alias: 'Set temp 70F at 6AM'
    trigger:
      platform: time
      after: "06:00:00"
    action:
      service: climate.set_temperature
      data:
        entity_id: climate.linear_tbz48_heating_1_2_1
        temperature: 70
        operation_mode: Heat
  - alias: 'Set temp 69F at 9PM'
    trigger:
      platform: time
      after: "21:00:00"
    action:
      service: climate.set_temperature
      data:
        entity_id: climate.linear_tbz48_heating_1_2_1
        temperature: 68
        operation_mode: Heat

In the future I’d love to have a card that just lists the items so anyone in the family can reconfigure it, such as;
Monday-Friday:
Wake Time ___ Temp ___
Away Time ___ Temp ___
Sleep Time ___ Temp ___
Weekend…

For now I just want to know why this automation isn’t working. Thank you!

I still haven’t made any forward progress on this. If anyone has any suggestions please let me know. Thank you!

I finally got this working today after some tinkering. I had other code issues preventing the automation.yaml from loading properly. In the end here’s a sample of the code that is working;

  - alias: "Set Wakeup Temp weekdays"
trigger:
  - platform: time
    after: '06:00:00'
condition:
  - condition: time
    weekday:
      - mon
      - tue
      - wed
      - thu
      - fri
action:
  - service: climate.set_temperature
    entity_id: climate.linear_tbz48_heating_1_2_1
    data:
      temperature: 70

Hopefully this helps another beginner get things going!

3 Likes