diff --git a/src/components/ha-view-tabs.html b/src/components/ha-view-tabs.html
index a1b54dfa08..f61e4f2f80 100644
--- a/src/components/ha-view-tabs.html
+++ b/src/components/ha-view-tabs.html
@@ -9,9 +9,9 @@
- [[locationName]]
+ [[locationName]]
-
+
diff --git a/src/components/ha-view-tabs.js b/src/components/ha-view-tabs.js
index 930036b12f..25a5939be3 100644
--- a/src/components/ha-view-tabs.js
+++ b/src/components/ha-view-tabs.js
@@ -39,6 +39,10 @@ export default new Polymer({
},
},
+ viewTapped() {
+ this.fire('view-tapped');
+ },
+
viewSelected(ev) {
const view = ev.detail.item.getAttribute('data-entity') || null;
const current = this.currentView || null;
diff --git a/src/layouts/partial-cards.html b/src/layouts/partial-cards.html
index aaf7b74edf..8e951fc013 100644
--- a/src/layouts/partial-cards.html
+++ b/src/layouts/partial-cards.html
@@ -45,7 +45,7 @@
condenses keep-condensed-header class='fit' has-views$='[[hasViews]]'
header-height="[[computeHeaderHeight(hasViews)]]"
condensed-header-height="[[computeCondensedHeaderHeight(hasViews)]]"
- on-paper-header-transform='headerScrollAdjust'
+ on-paper-header-transform='headerScrollAdjust' id='panel'
>