Frontend change of persistent notification - avoid long text in entity state (#470)

This commit is contained in:
milanvo 2017-10-21 21:59:10 +02:00 committed by Pascal Vizeli
parent ed233364ec
commit cbc447515f

View File

@ -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;
}
}