diff --git a/src/more-infos/more-info-content.html b/src/more-infos/more-info-content.html
index 0c462bb7d3..67da253387 100644
--- a/src/more-infos/more-info-content.html
+++ b/src/more-infos/more-info-content.html
@@ -45,7 +45,7 @@ Polymer({
}
} else {
window.hassUtil.dynamicContentUpdater(
- this, 'more-info-' + window.hassUtil.stateMoreInfoType(stateObj),
+ this, 'MORE-INFO-' + window.hassUtil.stateMoreInfoType(stateObj).toUpperCase(),
{ hass: this.hass, stateObj: stateObj, isVisible: true });
}
},
diff --git a/src/util/hass-util.html b/src/util/hass-util.html
index a08936bf1f..d5d6bc92d9 100644
--- a/src/util/hass-util.html
+++ b/src/util/hass-util.html
@@ -76,7 +76,7 @@ window.hassUtil.dynamicContentUpdater = function (root, newElementTag, attribute
var rootEl = Polymer.dom(root);
var customEl;
- if (rootEl.lastChild && rootEl.lastChild.tagName.toLowerCase() === newElementTag) {
+ if (rootEl.lastChild && rootEl.lastChild.tagName === newElementTag) {
customEl = rootEl.lastChild;
} else {
if (rootEl.lastChild) {