this.handlePopup(e, handle)}>
${this.renderEntityName()}
@@ -492,7 +492,10 @@ class MiniClimate extends LitElement {
return this.requestUpdate('targetTemperatureChanging');
}
- handlePopup(e) {
+ handlePopup(e, handle) {
+ if (!handle)
+ return;
+
e.stopPropagation();
handleClick(this, this.hass, this.config.tap_action, this.climate.id);
}
@@ -558,7 +561,7 @@ class MiniClimate extends LitElement {
renderEntityName() {
return html`
-
+
this.handlePopup(e, true)}>
${this.name}
${this.renderSecondaryInfo()}