Ring alerts API (active dings) is not device specific
Currently, the alert/active dings API is used in a per-device check_alerts method. An issue with this is that the Ring alerts API is not device specific - that is, when querying it, you get the most recent active alert across any device associated with the Ring account. Thus, for example, when calling check_alerts on a doorbell, the alert you get back may in fact be for a completely different device.
I see at least two possible ways to address this:
- Migrate check_alerts up from being a device specific call to being a global call
- Keep check_alerts where it is, but filter out alerts if they aren't for the device being queried
I'm going to take a crack at option 2 (keep check_alerts where it is for now, filter results) and see how that works out.
This happens if you have multiple Ringdoorbells The issue is located on #138 @tchellomello has to sort the IDs by order to have them fixed in position
There hasn't been any activity on this issue recently. This issue has been automatically marked as stale because of that. It will be closed if no further activity occurs. Please make sure to update to the latest ring_doorbell version and check if that solves the issue. Thank you for your contributions.