mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-25 02:06:42 +00:00
Prevent not needed <hr>
in more-info-light (#9080)
This commit is contained in:
parent
1ff5bf0fd5
commit
344b11a204
@ -126,7 +126,6 @@ class MoreInfoLight extends LitElement {
|
||||
@change=${this._ctSliderChanged}
|
||||
pin
|
||||
></ha-labeled-slider>
|
||||
<hr></hr>
|
||||
`
|
||||
: ""}
|
||||
${supportsColor && (!supportsTemp || this._mode === "color")
|
||||
@ -148,8 +147,7 @@ class MoreInfoLight extends LitElement {
|
||||
></ha-icon-button>
|
||||
</div>
|
||||
|
||||
${
|
||||
supportsRgbw || supportsRgbww
|
||||
${supportsRgbw || supportsRgbww
|
||||
? html`<ha-labeled-slider
|
||||
.caption=${this.hass.localize(
|
||||
"ui.card.light.color_brightness"
|
||||
@ -160,10 +158,8 @@ class MoreInfoLight extends LitElement {
|
||||
@change=${this._colorBrightnessSliderChanged}
|
||||
pin
|
||||
></ha-labeled-slider>`
|
||||
: ""
|
||||
}
|
||||
${
|
||||
supportsRgbw
|
||||
: ""}
|
||||
${supportsRgbw
|
||||
? html`
|
||||
<ha-labeled-slider
|
||||
.caption=${this.hass.localize(
|
||||
@ -177,10 +173,8 @@ class MoreInfoLight extends LitElement {
|
||||
pin
|
||||
></ha-labeled-slider>
|
||||
`
|
||||
: ""
|
||||
}
|
||||
${
|
||||
supportsRgbww
|
||||
: ""}
|
||||
${supportsRgbww
|
||||
? html`
|
||||
<ha-labeled-slider
|
||||
.caption=${this.hass.localize(
|
||||
@ -205,14 +199,13 @@ class MoreInfoLight extends LitElement {
|
||||
pin
|
||||
></ha-labeled-slider>
|
||||
`
|
||||
: ""
|
||||
}
|
||||
<hr></hr>
|
||||
: ""}
|
||||
`
|
||||
: ""}
|
||||
${supportsFeature(this.stateObj, SUPPORT_EFFECT) &&
|
||||
this.stateObj!.attributes.effect_list?.length
|
||||
? html`
|
||||
<hr></hr>
|
||||
<ha-paper-dropdown-menu
|
||||
.label=${this.hass.localize("ui.card.light.effect")}
|
||||
>
|
||||
|
Loading…
x
Reference in New Issue
Block a user