Less Push Buttons was born as an initiative to help increase the level of intelligence in a house managed with Home Assistant through automations that combine information from various sensors and a communication framework between automations that allows creating an ecosystem that facilitates cooperation between the different automations.
In rooms with only a motion/occupancy sensor it is possible to determine if a person is in the room using the rest of the sensors of the house. If it si not movement the th person is in the rooms.