Mill heater - automation - Set temp to xx after 21:30

Hi guys, I am trying to set up an automation that automaticly sets the target temperature for my 4 Mill heaters to 18 degres after 21:30. The automation seems to work when I hit “run” button. But the trigger time doesnt work. What am I doing wrong?

alias: Mill - sett ned temperatur etter 21:30
description: ''
trigger: []
condition:
  - condition: time
    after: '21:30'
    before: '06:30'
    weekday:
      - mon
      - tue
      - wed
      - thu
      - fri
      - sat
      - sun
action:
  - service: climate.set_temperature
    data:
      temperature: 18
    target:
      entity_id:
        - climate.stue_nede
        - climate.kontor
        - climate.stue_oppe
        - climate.kjokken
mode: single

No trigger, no action possible :wink:

In the trigger section set the automation to run at 21:30.

If you need to change it back at 6:30 use another trigger with a different activation_id (or use another automation)

Oh, of course. Why didn´t I see that. Will this code work;

alias: Mill - sett ned temperatur etter 21:30
description: ''
trigger:
  - platform: time
    at: '21:30'
condition: []
action:
  - service: climate.set_temperature
    data:
      temperature: 18
    target:
      entity_id:
        - climate.stue_nede
        - climate.kontor
        - climate.stue_oppe
        - climate.kjokken
mode: single

Solved. Thanks guys

2 posts were split to a new topic: Mill heater temperature