Condition in automation not working

Hello,

I am having a very strange problem with testing my automation.
There is a condition in the automation but the action is always executed also when de condition is not met.

I made a very simple test-automation and there i have the same problem.

Here is my test automation:

  - alias: 'A_test' 
    initial_state: true
    hide_entity:   false
    trigger:
      platform: state
      entity_id: input_select.nico_arp
      from: 'not home'
      to: 'home'
    condition:
      condition: time
      before: '10:00:00'
    action:
      - service: notify.email
        data_template:
            title: 'A_test'
            message: ''

What am i doing wrong?

Hi,
It seems OK. How do you test it?
Regards PH

I test it by triggering this automation in the frontend.

Triggering the automation from frontend bypasses the conditions.

Thanks, i did not know that.

What is the best way to test automations? How can you trigger them in such a way that the conditions are not bypassed?

Oeps, i can test it offcoarse with the developers tools.