I’m using ha, knx and hue. I have a knx phyisical light switch which triggers a automation to turn the light on. It works perfect and I can change the color etc.
But… from time to time the light turns on in the middle of the night and it is only in the night. I checked the logs and I don’t know why the light is turned on. We also use hue in other rooms but without the knx light switch. So only this combination is the problem.
Thank you very much for the interesting blueprint! I have to check it and how to use it in my case. I have a button to toggle between 0%, 50% and 100% brightnes and a second button to toggle between to color.
your KNX tunnel is not connected. If it gets reconnected, the state changes from “unavailable” to whatever it reads from the bus → your automation may trigger
Check the history, not the current state - you will see if and when it changed from unavailable to something else
the entity you are looking at is not the one referenced by your yaml configuration, but an orphaned entity. Have a look at if you find a similar one - with _1 or something like that appended to the name. This can happen if you change the significant group address of a knx entity (see https://www.home-assistant.io/integrations/knx/#duplicate-entities)
Other than that, check the automation debugger what exactly triggered your automation (or if it was triggered at all - maybe there is another one doing so…)
I check more GA and some doesn’t have the read flag set. I also noticed, that the error appeared for the first time yesterday. What I do not understand is, that everythink works, only the spontaneous trigger. And the error logs appeared yesterday.
I had also considered whether the firewall or AdGuard could be the cause. But HA and the KNX is in the same network and adguard also runs since few months.
Should I set the read flag and observe the situation?
No. Unless you know exactly what you are doing, you should not mess with that. Playing with flags can lead to awkward situations that are quite hard to debug in the future. Normally an objects flags are set properly and don’t need any changes.
Consider not using GAs as *state_address in HA if it doesn’t have a read-flag set instead.
Since you seem to use a router, are you using routing or tunnelling to connect HA? What IA does HA use? Do you use KNX Secure?