mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-08 09:56:36 +00:00
Prevent color temp selector mired exception (#12536)
This commit is contained in:
parent
dd49fd2788
commit
080cad0ccd
@ -27,8 +27,8 @@ export class HaColorTempSelector extends LitElement {
|
|||||||
pin
|
pin
|
||||||
icon="hass:thermometer"
|
icon="hass:thermometer"
|
||||||
.caption=${this.label || ""}
|
.caption=${this.label || ""}
|
||||||
.min=${this.selector.color_temp.min_mireds ?? 153}
|
.min=${this.selector.color_temp?.min_mireds ?? 153}
|
||||||
.max=${this.selector.color_temp.max_mireds ?? 500}
|
.max=${this.selector.color_temp?.max_mireds ?? 500}
|
||||||
.value=${this.value}
|
.value=${this.value}
|
||||||
.disabled=${this.disabled}
|
.disabled=${this.disabled}
|
||||||
.helper=${this.helper}
|
.helper=${this.helper}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user