The documentation says that the device’s events() method returns the events from the last 7 days, but I can’t get it to return more than 50 events.
The documentation also says that if you don’t specify a max option, it will only return 10 events, but if I set the max to anything over 50, it still only returns 50 events.
I’m trying to just retrieve the last event with a source containing “DEVICE”, but that’s not possible with a lot of my devices because they’ve since had more than 50 events from other sources.
I’m hoping I’m doing something wrong and there really isn’t a 50 event limit, but if there is, you need to update the documentation because you can’t get the last 7 days of events like it says you can. @Jim @slagle