Automation with time trigger not running but manually started

What is wrong on this automation?
It’s not starting at the specific time, but running when I click “run actions”.

alias: Test WZ Tuer
description: ‘test’
trigger:

  • platform: time
    at: ‘08:37:00’
    condition: []
    action:
  • device_id: 42bc7748483609422b637976cb70d095
    domain: cover
    entity_id: cover.blindst6_dc106_rohrmotor24_rmf_yooda_754372_161
    type: open
  • condition: state
    entity_id: input_boolean.onceaday
    state: ‘off’
  • type: turn_on
    device_id: 2538241cfd3a297a96f01224c8d9b1b6
    entity_id: switch.0xec1bbdfffe9f7bc1
    domain: switch
    mode: single

Please format your post correctly.

alias: Test WZ Tuer
description: test
trigger:
  - platform: time
    at: '09:30:00'
condition:
  - condition: time
    before: '00:00:00'
    after: '09:29:00'
    weekday:
      - mon
      - tue
      - wed
      - thu
      - fri
      - sat
      - sun
action:
  - device_id: 42bc7748483609422b637976cb70d095
    domain: cover
    entity_id: cover.wz_tuer
    type: open
  - type: turn_on
    device_id: 2538241cfd3a297a96f01224c8d9b1b6
    entity_id: switch.0xec1bbdfffe9f7bc1
    domain: switch
mode: single

1 Like

If the correctly formatted code is your actual automation (seems quite different to the first one you posted), it will not do any actions, because the condition can’t be fullfilled.

Condition is dependend on the day (from 00:00 to 23:59), so your condition always is “false”. Remove the “before” and try again. Btw you can remove the weekday as well, because you use all days, so this is obsolete.

All in all, I don’t think the condition is very useful, as the trigger always is behind the condition (09:30 is always after 09:29)

Taking all this into account, this should be your automation:

alias: Test WZ Tuer
description: test
trigger:
  - platform: time
    at: '09:30:00'
action:
  - device_id: 42bc7748483609422b637976cb70d095
    domain: cover
    entity_id: cover.wz_tuer
    type: open
  - type: turn_on
    device_id: 2538241cfd3a297a96f01224c8d9b1b6
    entity_id: switch.0xec1bbdfffe9f7bc1
    domain: switch
mode: single

That’s because the “run actions” button ignores the trigger and conditions.

Follow the advice above to fix those issues.

1 Like

Thanks guys. Now it’s running.

One more question:

Where in HA can I see the actual status of an input_boolean helper? (for debugging)

Developer Tools → States.