Weird history in all my Automations logs

Don’t know if normal behavior and caused by using battery powered sensors/switches but in all my “History” logs of my automations I have the same log entries at the same time:

Turned off
Became unavailable
Turned on

Update: Did some more checking and apparently these entries are logged when you change something in an automations script. Looks like the “whole automation” stack is being reset when saving changes in one of the automations.
So I guess normal behavior?

Update2: Helping myself here :slight_smile: Seems to be normal behavior in HA: https://community.home-assistant.io/t/eliminate-the-need-for-restarts/148323

FWIW, there are several domains that I exclude in recorder (because I have no interest in recording them).

recorder:
  purge_keep_days: 5
  exclude:
    domains:
      - group
      - script
      - automation
      - counter
      - input_text
      - input_datetime
      - timer

As a result, regardless of how many times I restart Home Assistant, or reload automations, there’s no long-winded list (like in your screenshot) of automations turned off/on (and other domains). I know it’s happening; don’t need a record of it.

1 Like