mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-26 10:46:35 +00:00
parent
23a9b79320
commit
78e64e1f60
@ -61,8 +61,6 @@ class MoreInfoLight extends LitElement {
|
|||||||
"is-on": this.stateObj.state === "on",
|
"is-on": this.stateObj.state === "on",
|
||||||
})}"
|
})}"
|
||||||
>
|
>
|
||||||
${this.stateObj.state === "on"
|
|
||||||
? html`
|
|
||||||
${supportsFeature(this.stateObj!, SUPPORT_BRIGHTNESS)
|
${supportsFeature(this.stateObj!, SUPPORT_BRIGHTNESS)
|
||||||
? html`
|
? html`
|
||||||
<ha-labeled-slider
|
<ha-labeled-slider
|
||||||
@ -75,6 +73,8 @@ class MoreInfoLight extends LitElement {
|
|||||||
></ha-labeled-slider>
|
></ha-labeled-slider>
|
||||||
`
|
`
|
||||||
: ""}
|
: ""}
|
||||||
|
${this.stateObj.state === "on"
|
||||||
|
? html`
|
||||||
${supportsFeature(this.stateObj, SUPPORT_COLOR_TEMP)
|
${supportsFeature(this.stateObj, SUPPORT_COLOR_TEMP)
|
||||||
? html`
|
? html`
|
||||||
<ha-labeled-slider
|
<ha-labeled-slider
|
||||||
|
Loading…
x
Reference in New Issue
Block a user