#How to set a "Person" away / home via an action?

1 messages · Page 1 of 1 (latest)

chilly pasture
#

The person has no "device_tracker", thus device_tracker.see cannot be used. It's just a blank person I call "Guest" so I can track zome.home == 0 or more to check if people are home. I could use a new toggle helper as "guest" but then i would add a bunch more logic since I've already implemented using persons count in zome.home.

gritty mauve
#

make a device_tracker using device_tracker.see action and attach that to your person

chilly pasture
#

Oh, so that also creates one. I thought it just changed state of one.