@HA_fanatic wrote:
Trying to create a template sensor that gives me total number of people at home. I use the people entity, so just need help on the syntax to write an array or something using Jinja that holds the entities, then I can use a for loop to add a number each time someone arrives home but subtracts a number when someone is not home.
If this is not possible using template sensors then i will need to use Appdaemon or NodeRed and maybe i will feed that as a sensor to home assistant so i can reference it there, but becuase home assistant is the main one i want to keep track of this logic there.
Posts: 2
Participants: 2