Presence Logic

Is there a way to create a virtual presence entity and have some sort of logic behind it to mark the entity present/not present?

I want to setup 3 checks, 1. home assistant app presence 2. WiFi check for presence and 3. Virtual presence entity that I present to HomeKit and leverage HomeKit automation to mark the sensor as present/not present.

I want to group all 3 of the above into 1 virtual presence sensor and have logic where it will mark the virtual entity as present if any 2 of them are still present.

On Hubitat I was able to accomplish this with Presence Plus. Hoping there is something similar

Take a look at this thread…