github rhizomatics/supernotify v2.4.0

latest releases: v2.16.0, v2.16.0-beta5, v2.16.0-beta4...
one month ago

Live Scenarios

  • Scenarios can now expose their state as binary_sensor, and compute that state both reactively as underlying entities change state, or optionally with a periodic re-compute
  • New Scenario Control configuration added, with initial usage for controlling live scenario state

Snoozes

  • Active snoozes are now persisted across Home Assistant restarts, using standard Home Assistant storage for integrations, provided by @lollox80

Camera

  • Camera and image snapping now uses direct entity calls rather than Home Assistant actions and polling for results, provided by @lollox80
  • The previously hard-coded max wait time to snap an image of 20 seconds is now configurable with snap_wait in the camera configuration.
    • This is different from the existing camera_delay and PTZ controls in that its not a pause. If the camera snap is instant, then the snap_wait time will never be used, its only an allowance for cameras that are slow to snapshot.

Diagnostics

  • Integration now has a standard Home Assistant Diagnostics option, gathering info previously provided by multiple diagnostics actions, provided by @lollox80

Tracing Activities

  • Fixed missing contexts on downstream actions, a consequence of relying on code from the "legacy" Home Assistant Notification platform, which throws away context
  • If no context is passed, Supernotify creates its own, so anything that happens thereafter has a trace

Fixes

  • Notification with an unavailable attachment could fail, will now proceed with or without attachment
  • Two messages with same title and message but different camera entities, or media URLs for attachments, will not be considered as dupes
  • Additional actions now have documented options with translations, provided by @lollox80

Technical

  • The main SuperNotificationService no longer inherits from BaseNotificationClass and the latter included only as a compatibility shim to ensure current usage as a Notification sub-platform doesn't break.
  • notify.py slimmed down by moving main engine to engine.py, delivery/transport/people/scenario functionality out to registries, actions out to actions.py leaving only the Notify Entity / legacy Notification platform shims out to notify_compatibility.py

What's Changed

  • feat: expose evaluated scenario state on scenario binary_sensors by @lollox80 in #171
  • test: cover the diagnostics flag on enquire_last_notification by @lollox80 in #179
  • Add diagnostics.py for config entry diagnostics by @lollox80 in #181
  • Add strings.json/translations entries for 12 undocumented services by @lollox80 in #183
  • Persist snooze/silence state across Home Assistant restarts by @lollox80 in #185
  • Fetch camera and image snapshots via HA's native camera/image APIs by @lollox80 in #184

Full Changelog: v2.3.1...v2.4.0

Don't miss a new supernotify release

NewReleases is sending notifications on new releases.