mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-08 01:46:35 +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
|
||||
icon="hass:thermometer"
|
||||
.caption=${this.label || ""}
|
||||
.min=${this.selector.color_temp.min_mireds ?? 153}
|
||||
.max=${this.selector.color_temp.max_mireds ?? 500}
|
||||
.min=${this.selector.color_temp?.min_mireds ?? 153}
|
||||
.max=${this.selector.color_temp?.max_mireds ?? 500}
|
||||
.value=${this.value}
|
||||
.disabled=${this.disabled}
|
||||
.helper=${this.helper}
|
||||
|
Loading…
x
Reference in New Issue
Block a user