diff --git a/climate-mode-entity-row.js b/climate-mode-entity-row.js index d2c0cee..7243b6b 100644 --- a/climate-mode-entity-row.js +++ b/climate-mode-entity-row.js @@ -54,7 +54,7 @@ const hass = this._hass; return html` - +
${config.modes.map((mode) => this.renderMode(mode))}
@@ -73,8 +73,7 @@ (mode.temperature == null || mode.temperature === this.state.temperature); - const onClick = (e) => { - e.stopPropagation(); + const onClick = () => { this.setMode(mode); } @@ -171,4 +170,4 @@ Object.getPrototypeOf( customElements.get("hui-masonry-view") || customElements.get("hui-view") ) -); +); \ No newline at end of file