You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Added
A message set aside for the morning can now expire: not very important after
2 h, normal after 12 h, important never. Change it for the household on the
new How long a message set aside stays useful step, or for one call with data.ttl_minutes (0 means "keep this one whatever the household says").
An expired message is dropped with the new reason expired, instead of
announcing at 07:00 that the front door was open at 23:31.
One summary instead of a burst. When more than one message survives the night
for somebody, they get a single notification per device listing them, rather
than eleven banners at the moment they open their eyes. Turn it off per person
with Sum it all up in one message.
A back-to-normal message now reaches only the people who actually received
something for that alert; everybody else is dropped with the new reason not_notified. Mark your own back-to-normal call with data.switchboard_done: true.
Every message gets a name (data.tag, switchboard-<slug> by default), so a
repeat updates the notification already on the phone instead of stacking a
second one. A tag you set always wins.
When a watched alert ends, the notifications it left on each phone are cleared
and the matching dashboard notification is dismissed. The new target setting Clear the back-to-normal message extends that to the back-to-normal
message itself. This applies to targets in observer mode only.
Changed
A message released in the morning is decided again from scratch: somebody who
left the house under a home_only target is dropped on presence, somebody who
snoozed at 02:00 is dropped as snoozed, a deleted target drops the lot. Its
original importance is kept, so a target whose default changed overnight
cannot silently re-grade it.
A queue is flushed as soon as the last silence turns off, instead of waiting
for the wake time. Somebody with both a night schedule and a Focus sensor
needs both off; the wake time stays the upper bound.
sensor.switchboard_dropped_today gains expired and not_notified in its reasons attribute. No new event type.
Upgrading migrates the stored snoozes and deferrals; nothing to do by hand.