From 8a710202f1ea5e40714ea9cb2a84eae62f62c06f Mon Sep 17 00:00:00 2001 From: Ian Richardson Date: Mon, 9 Sep 2019 07:10:20 -0500 Subject: [PATCH] Stop effect in more-info-light (#3636) * Convert weather-forecast to LitElement Part of https://github.com/home-assistant/home-assistant-polymer/issues/2095 Not sure how RTL works and how to apply it. Also, thinking I should update if the forecast changes and not just the state. Input? * Revert "Convert weather-forecast to LitElement" This reverts commit e1893b0a83f5973df7a28e5d30c3d4d0496155a1. * Add stop effect button Closes https://github.com/home-assistant/home-assistant-polymer/issues/3619 * address review comments * cleanup --- src/dialogs/more-info/controls/more-info-light.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/dialogs/more-info/controls/more-info-light.js b/src/dialogs/more-info/controls/more-info-light.js index c40fd37497..85c9575936 100644 --- a/src/dialogs/more-info/controls/more-info-light.js +++ b/src/dialogs/more-info/controls/more-info-light.js @@ -1,6 +1,7 @@ import "@polymer/iron-flex-layout/iron-flex-layout-classes"; import "@polymer/paper-item/paper-item"; import "@polymer/paper-listbox/paper-listbox"; + import { html } from "@polymer/polymer/lib/utils/html-tag"; import { PolymerElement } from "@polymer/polymer/polymer-element"; @@ -188,6 +189,7 @@ class MoreInfoLight extends LocalizeMixin(EventsMixin(PolymerElement)) { on-selected-changed="effectChanged" attr-for-selected="item-name" > + stop