Repository navigation
Release 2.3.4b3: alert_name carries the Home Assistant name - #390
Merged
Merged
Conversation
…lert_name
alert_name in span_panel_current_alert, the notification {name} and the alert log line now carry the circuit's name as Home Assistant shows it. The alert_display_name field added in 2.3.4b2 is removed, along with MonitoredCircuit.name, which nothing read any more.
The changelog carries the maintainer's rewording of the 2.3.4 section.
The release build of span-card v0.12.1-beta.4 (8621bce); span-panel-card.js is byte-identical to the release asset.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Release 2.3.4b3, a beta pre-release:
span_panel_current_alertevent'salert_name, the notification{name}and the alert log line carry the circuit's name as Home Assistant shows it. Thealert_display_namefield added in 2.3.4b2 is removed, along withMonitoredCircuit.name, which nothing read any more.frontend.md. The bundledspan-panel-card.jsis byte-identical to the release asset.Tests
tests/test_alert_display_names.pychecks the one name on every alert path, the test event and the log line, and that the event carries no second name.