github rhizomatics/supernotify v2.18.0-beta3

pre-releaseone hour ago

This release continues the move of configuration from YAML into the configuration web page - now for Recipients and Transports. This makes it easy to add an email address for people so they automatically get mailed, pick which mobile devices get included, tune deliveries and include people who aren't Home Assistant users.

🚨 Breaking changes

  • Recipients: recipients: in YAML is imported into the integration at start up, and ignored in the YAML from then on, with a repair asking for it to be removed
  • Transports: transports: in YAML is imported into the integration at start up likewise, and ignored in the YAML from then on, with a repair asking for it to be removed

✨ Enhancements

  • Recipients: added and changed in the integration, under Settings → Devices & services → Supernotify → Add recipient - e-mail address, phone number, which discovered mobile devices to use, targets chosen as in the supernotify.notify action, and per-delivery overrides of enabled, targets and data. No YAML needed for default e-mail targets
  • Recipients: everyone discovered, as a Person or a user, is listed under the integration as a recipient, to change or switch off with Enabled. Add recipient also takes someone who isn't a Home Assistant user, by name, to reach by e-mail, phone or other targets. Each recipient's notify entity and switch are listed under their recipient, rather than on the Supernotify device - entity ids are unchanged
  • Transports: every transport in use is listed under the integration, to change or switch off with Enabled, with Load to leave it out altogether, its Delivery Defaults - action, targets, options, data, inclusion, priority, debug and any others as YAML - and for email, its own mail server Connection. Add transport sets up one that needs configuring before it can be used, like generic with its action, or chime with its aliases. Each transport has a service device of its own, as the SMTP integration has for a mail server, named by the transport's alias from YAML, if it had one, with its switch, now named Enabled, and its deliveries' switches, listed under the transport, rather than on the Supernotify device - entity ids are unchanged. The Supernotify device is now marked as a service too
  • Housekeeping: a Deprecated Entities option removes the deprecated recipient, delivery and transport binary_sensor entities an install carried over from an earlier version, along with their repairs - only offered while there are some
  • Transports: a repair names any deprecated settings a transport still has, such as device_domain directly on it rather than in its options, and saving the transport in the integration moves them to their replacements

📝 Other changes

Development

  • Preview Environment: a Docker preview Home Assistant running the checkout's Supernotify, set up on first start as the same house the integration tests use, with ha_repl_server for agent access with ha-repl. mise run clean removes it. See Preview Environment
  • Commands: a set of commands are implemented using mise-en-place, including clean to remove all ephemeral files and rebuild the virtual environment, refresh to update dependencies and git and a set of preview-xxxx commands for the preview environment. Run mise tasks to see the list.

Don't miss a new supernotify release

NewReleases is sending notifications on new releases.