Posted inSmart Home
Notifications in Home Assistant, But Smarter: The Script Pattern You’ll Wish You Used Earlier
Tired of copy-pasting notify.mobile_app_* actions across dozens of Home Assistant automations? In this post I’ll show a simple, scalable notification pattern that saves time now and frustration later: one reusable script per person (phone, work phone, tablet, whatever) plus group scripts for things like “the whole family”. You’ll learn how to pass message, title, and optional metadata cleanly, why the data object must always be a dictionary (and how to avoid the dreaded “Got None” error), and how this approach makes device changes painless because you only update notifications in one place. If you’ve ever replaced a phone and had half your alerts break, this setup will feel like a small superpower.

