I have the situation that an unknown state fires the event, too.
Previously I made a group of persons and triggered on the group’s state. That worked fine, but I had to manually update the group when people join my home. So I switched tho the numeric state of a zone above. (Just for me and my personal satisfaction without hardcodings )
Do you have any Ideas how I could prevent unknown state firing?
Show your code where you want to do this so we’re not guessing. It’s easy to avoid unknown and unavailable we just need to see what you’re trying to avoid it for specifically so we know exact syntax etc.