I have been trying to include to Lightining Director, the option to use presence sensors. However, to correctly work with it, I need the last state of the presence sensor.
For that purpose, I want to know if it possible to use some kind of statement to access the isStateChange from the sensor. I haven’t found any in the documentation or the community forums related to apps.
The other ways I know it can be done, means to actually break the existent logic from the Lightning Director, so actually create a separate app for my requirements.