Supernotify Core Classes

Supernotify Core Classes An architecture diagram generated by Archify. Recipient · person + contacts · Architecture component Recipient person + contacts Target · targets + person_ids · Architecture component Target targets + person_ids Notification · message, priority, data · Architecture component Notification message, priority, data Envelope · message, data, calls · Architecture component Envelope message, data, calls Delivery · action, data, target · Architecture component Delivery action, data, target Transport · deliver(envelope) · Architecture component Transport deliver(envelope) target(delivery) _target 0..1 envelopes 0..* selected 1..* delivery 1 target 1 transport 1 default target 0..1

Notification

  • • _target: Target from the action call, if one was given
  • • selected_deliveries: the Deliveries chosen for this notification
  • • deliveries[name][outcome]: Envelopes by delivery and outcome

Envelope

  • • One Notification copy for one Delivery and a Target set
  • • Holds its own message, title and merged data
  • • calls: each Home Assistant action the Transport made

Target + Recipient

  • • Target groups direct targets by category, plus person_ids
  • • Recipient.target(delivery) gives that person's Target for a delivery
  • • Delivery.target is the delivery's own default Target