So I am relative new to Home Assistant…
However not so to home automation - 10 years or so.
So I have pi4b with latest and greatest Home Assistant, and I have included a few things like lamps. I have also installed the AsusWRT plugin for among other things presence detection. When I have this on the overview, it seems perfect. It tracks my self or my wifs mobiles, just as I like. However I have no clue how to trigger any automation on this. Well I can do it in one way, test if the icon has changed. However, I can find no way to do this on “state” (or as it is called in Swedish “Tillstånd”). From the GUI I can tell if I am at Home (“Hemma” in Swedish) or Away (“Borta” in Swedish).
But how do I trigger this?
I have for example an automation that turns on the radio when I arrive homw, and turns it off when I leave. If testing the icon for the device I can solve this, but it is an odd way to solve this.
If I then use a group for me and my wife, which also shows up perfect in the GUI by the way, and presents “Hemma” or “Borta” as expected, then there is no way to trigger on “anyone__home” (as the group is named).
I have tested to do this on “on” / “true” / “Hemma” - and none of them work.
platform: state
to: Hemma
entity_id: group.anyone_home
What am I missing here? Why is this so damn difficult to get working when everything else is just so easy. But triggering on presence from AsusWRT - no show.