I have a bunch of rules that send push notifications but I only want to get these if I'm actually home (I can't do much about the laundry if I'm at work).
This is an App and Driver pair that creates a virtual Notification device that wraps another Notification device and is linked to a Presence sensor. Notifications sent to the virtual device are only forwarded to the real device if the Presence sensor is present.
Install BOTH the driver first and the app second.
2019.09.15: Initial Version
2019.09.15.a: Fix bug where all wrapped notification devices were notified
I'm still fairly new to custom apps/drivers so I'd love any code pointers anyone has to share as well.