HA automation trigger fires, even when the automation is disabled

I have an automation with a trigger “time pattern” that is (/1 min) basically fires, every single minute of the hour. I have disabled the automation, but I was surprised to see that the trigger still fires, even when the automation is disabled. Obviously, nothing happens, no automation is triggered, but is it normal for the trigger to keep firing or it is a bug?

Here is the YAML:

alias: "Hallway: washing machine notification"
description: ""
trigger:
  - platform: time_pattern
    minutes: /1
    enabled: true
condition:
  - type: is_power
    condition: device
    device_id: de8f3ada44a223447cb6850555715e28
    entity_id: sensor.hallway_washer_plug_active_power
    domain: sensor
    below: 5
  - type: is_no_vibration
    condition: device
    device_id: 3c19b86b3d5b73eb9458923917b9884f
    entity_id: binary_sensor.hallway_washer_vibration_sensor
    domain: binary_sensor
    for:
      hours: 0
      minutes: 5
      seconds: 0
  - condition: state
    entity_id: binary_sensor.hallway_washer_contact_sensor
    state: "off"
action:
  - device_id: ad0fd90aa8dc6755e5f8fc4d9ecde791
    domain: mobile_app
    type: notify
    title: "Home alert:"
    message: Washing machine must be finished. Pull the clothes out
  - service: notify.alexdesktop
    data:
      title: "Home alert:"
      message: Washing machine must be finished. Pull the clothes out
  - if:
      - condition: device
        device_id: ad0fd90aa8dc6755e5f8fc4d9ecde791
        domain: device_tracker
        entity_id: device_tracker.alexphone
        type: is_home
    then:
      - service: notify.alexa_media_polk_react
        data:
          title: "Home alert:"
          message: Washing machine must be finished. Pull the clothes out
mode: single

Although the automation seems to be disabled, the enabled: true on the trigger might somehow override that.

I have set one of mine the same way to see if it actually does anything.

I’ll let you know what I find. But, you could just delete that line and see too.

IF there is anyone with more experience and knowledge of this matter, please leave a comment and let me know if this is normal behavior or a bug and if I need to report it. Thanks

The one I setup did not trigger.

And, it would have based on what I used.

Have you tried enabling and disabling it again?

that’s a visual display to let you know when it would trigger. It’s not triggering otherwise you’d have a trace.

1 Like

Okay, then I assume @petro that this is the normal behavior. If enable the automation and left like that and the conditions stop the automation from triggering, will this impact my HA system? Thanks

It might impact it slightly, but not much. It’d be no different than a sensor updating once a minute.

Okay, reading here, I had to sit and watch my test. It has zero traces.

But, I stared at it (thanks for that @alexvaltchev :rofl:). And, it did show the ‘triggered’ pop up. But, no traces. So, it never actually ran.

1 Like