github rhizomatics/supernotify v1.5.0

latest releases: v2.10.3, v2.10.2, v2.10.1...
9 months ago

1.5.0

Features

  • Mobile Push
    • Mobile discovery now on by default
      • Use mobile_discovery: false for each recipient to switch off
    • New Recipient discovery, on by default, based on Home Assistant's person entities
      • Use recipient_discovery: false in configuration to switch off
      • Use enabled: false to switch off specific people from automatic notifications
    • Mobile Discovery can be switched off at platform or recipient level
    • Recipient now exposed as an entity
      • Recipient can be enabled or disabled in Home Assistant UI, Automations, API etc by changing entity state
    • Mobile Push delivery now configured by default
  • Multimedia
    • png_opts now available for images, pre-set for email to optimize: true
    • Camera snapshot now fixes/optimizes images like URL snapshot and Image Entity already do
    • Media now has a reprocess option to switch off image rewriting, or preserve original metadata, incl comments
    • Automatic housekeeping to purge images from media_dir, configurable by media_storage_days in housekeeping
    • purge_media service to run the media storage housekeeping on demand
  • Chime
    • Chime Aliases configuration now validated at start up, and schema published
    • Device Discovery can now include or exclude by device model
      • Chime integration uses this so doesn't select Alexa actual devices and Alexa Group devices
    • Added rest_command to supported transport methods
  • Scenarios
    • Scenario overriding improved for data and target
    • Scenarios can now disable deliveries
    • enabled can now be left null for Scenario delivery config, to apply only where delivery already selected
      • The seasonal scenario recipe demonstrates this
  • Duplicate Suppression
    • Dupe checking now happens at Envelope rather than Notification level, so same message can go out to different deliveries and/or recipients

Changes

  • enqure_people is now enquire_recipients for consistency

Internal

  • Dicts for person and delivery customization now replaced by typed classes for type safety and easier refactoring / testing
  • Refactored out common image handling code for all 3 grab methods
  • Notification slimmed down and focussed, message and title handling moved to Envelope, Notification will
    only prepare data and targets
  • Dupe checking code moved out of Notify to its own class
  • delivery_by_scenario pre-compute and refresh removed
  • Moved code to detect media requirements in mobile actions out of Notification and into the mobile_push transport
  • Test suite for the seasonal scenarios
  • Correct debug handling for archival, and inclusion of debug_trace

PRs

Full Changelog: v1.4.0...v1.5.0

Don't miss a new supernotify release

NewReleases is sending notifications on new releases.