I’ve had a problem for a year or more, so that’s through numerous Home Assistant updates: I have about 15 automations that I’ve disabled, but they always become enabled again within a few days. I haven’t been able to determine a trigger for the re-enabling.

Has anyone else encountered this? Does anyone have a suggestion?

  • CondorWonder
    link
    fedilink
    English
    arrow-up
    1
    ·
    9 months ago

    Try searching for your automation.entity_id - like in my case it’s something like automation.notify_washer_done (the original entity id of my automation, found via the developer - states tab). Then if I search using that in my YAML I’d see entity_id: automation.notify_washer_done, and add the context to see the full service call:

    service: automation.turn_on
    target:
      entity_id: automation.notify_washer_done
    data: {}
    

    Assuming it’s an automation or script your should find it in the related .yaml file and can scroll up to see the actual automation or script source.

    • Mike Wooskey@lemmy.d.thewooskeys.comOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      edit-2
      9 months ago

      This is really confusing to me. The History list shows when this automation was turned on and turned off (turned on means enabled, turned off means disabled) but the Logbook list doesn’t show anything for this automation at the datetime it was enabled (it does show me manually disabling the automation, though).

      I searched for the automation’s name (e.g., automation.my_automation) in every file in HA’s confg directory and there are no occurrences. I also searched for the automation’s ID (e.g., 1623421375007) in every file in HA’s confg directory the only occurrence is in the Automations.yaml file where the automation is defined. I also searched for automation.turn_on and automation.turn_off in every file in HA’s confg directory and there are no occurrences.

      This seems strange: when I click on the “On” or “Off” bar in the History list for this automation and the details for the automation pop-up (screenshots below), and I then click “Related”, the section that says “Part of the following automations” lists about half of my automations, but none of them have anything to do with this automation.

      • Mike Wooskey@lemmy.d.thewooskeys.comOP
        link
        fedilink
        English
        arrow-up
        1
        ·
        9 months ago

        I forgot to mention that I had also renamed one of my automations in the hope that I’d be able to find the original name in my log files when whatever was trying to turn it off could no longer turn it off. But I can’t find anything in the log files containing the original name.