Hi, all. My wife and I recently got new phones, and it got me thinking again about how notifications work.

Currently I have several automations (maybe 10) that send notifications to my phone, her phone, both, and possibly other devices.

But when we get a new phone, or replace a tablet, etc., I have to update every single one of those automations. And I inevitably forget some or introduce errors.

Is there a better way to do this? For example, it’d be nice if I could abstract the concept of “my phone” out in those automations, then I’d only have to change the device “my phone” in one place, rather than a bunch of places.

Any thoughts on this? Maybe I’m missing a way to do it. Thanks.

  • limelight79@lemm.eeOP
    link
    fedilink
    English
    arrow-up
    2
    ·
    7 months ago

    This is really cool. I’ve been out and about and have gotten notification the laundry is done, and it’s like, welp, that’s not very useful information right now. Thanks!

    • TreeGhost@lemm.ee
      link
      fedilink
      English
      arrow-up
      1
      ·
      7 months ago

      The only issue with doing it this way is that the UI to call the script isn’t as nice as calling the notification service directly, but it isn’t too bad to switch to yaml mode and populate the parameters once you get used to it.