In external app I’m polling to get status of a device with a contactSensor.
I get something like this which is great.
I need to know if it was opened and then closed since the last poll. Otherwise it may open then close and by the time I poll again it will look like it never opened!
Short of polling every second is there anything I can do?
From the documentation, there is a limit of 20 subscriptions per smart app so I can’t use a subscription to push the door open event, as location may need more sensors than that.