From 7702a05464a252c310052257d4559300ca89cbd6 Mon Sep 17 00:00:00 2001 From: Bram Kragten Date: Wed, 26 Aug 2020 11:13:29 +0200 Subject: [PATCH] Filter attributes in more info light (#6707) --- .../more-info/controls/more-info-light.ts | 26 +++++++++---------- 1 file changed, 12 insertions(+), 14 deletions(-) diff --git a/src/dialogs/more-info/controls/more-info-light.ts b/src/dialogs/more-info/controls/more-info-light.ts index 3abab21a99..6b0bba5572 100644 --- a/src/dialogs/more-info/controls/more-info-light.ts +++ b/src/dialogs/more-info/controls/more-info-light.ts @@ -5,29 +5,27 @@ import { CSSResult, customElement, html, + internalProperty, LitElement, property, - TemplateResult, - internalProperty, PropertyValues, + TemplateResult, } from "lit-element"; import { classMap } from "lit-html/directives/class-map"; - -import { - SUPPORT_BRIGHTNESS, - SUPPORT_COLOR_TEMP, - SUPPORT_WHITE_VALUE, - SUPPORT_COLOR, - SUPPORT_EFFECT, -} from "../../../data/light"; import { supportsFeature } from "../../../common/entity/supports-feature"; -import type { HomeAssistant, LightEntity } from "../../../types"; - import "../../../components/ha-attributes"; import "../../../components/ha-color-picker"; -import "../../../components/ha-labeled-slider"; import "../../../components/ha-icon-button"; +import "../../../components/ha-labeled-slider"; import "../../../components/ha-paper-dropdown-menu"; +import { + SUPPORT_BRIGHTNESS, + SUPPORT_COLOR, + SUPPORT_COLOR_TEMP, + SUPPORT_EFFECT, + SUPPORT_WHITE_VALUE, +} from "../../../data/light"; +import type { HomeAssistant, LightEntity } from "../../../types"; interface HueSatColor { h: number; @@ -149,7 +147,7 @@ class MoreInfoLight extends LitElement { : ""} `;