I am relatively new to Home Assistant. I have been running a Home Assistant Green for about three months now, and something rather strange occurred. I was wondering if this sort of thing is common.
Yesterday, some of my automations stopped working properly. They are very simple ones which use a four-button Hue controller to toggle four different lights on or off. They were turning the lights ON but not OFF. As far as I could see, only these four automations were malfunctioning.
It had been working fine previously so, after scratching my head a lot and trying some different ways of doing the automation (unsuccessfully) I put it back the way it was before and restarted Home Assistant.
Problem solved! Everything worked normally again.
My question is, does this sort of thing happen routinely with Home Assistant?
I have several more complex automations than the ones that failed, and none of those seem to have done anything remotely weird
Nothing exceptional about the automations. One example:
I haven’t had that sort of issue, but I don’t use devices, only entities. If possible try not to use devices in automations unless absolutely necessary.
I fairly new to HA also, the first thing I learn about automation was not to use a device as a trigger, it becomes unreliable sometimes. My issue was similar when I started and I was advised to use entity and state instead of device.
I have a few hundred automations and they only ever fail if there is an issue with the entities they rely on or I have made a mistake in my configuration. None of them use device ids.