mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-12 11:56:34 +00:00
Frontend change of persistent notification - avoid long text in entity state (#470)
This commit is contained in:
parent
ed233364ec
commit
cbc447515f
@ -75,7 +75,7 @@ class HaPersistentNotificationCard extends Polymer.Element {
|
||||
var message = '';
|
||||
if (scriptLoaded) {
|
||||
el = this.$.pnContent;
|
||||
message = window.micromarkdown.parse(stateObj.state);
|
||||
message = window.micromarkdown.parse(stateObj.attributes.message);
|
||||
el.innerHTML = message;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user