Hi all,
Is there a simple method to get the most recent event of a given type from a device?
Scenario: I'd like to check the last time a motion sensor was active. I can subscribe to it's events and record it in my application's state, but I'm curious if there's a simpler way (e.g. query the device events and pull the date/time of the most recent "motion:active" events.
thx!