Fix #63
This commit is contained in:
parent
c073732c35
commit
638c73ae1a
File diff suppressed because one or more lines are too long
@ -28,7 +28,7 @@ export class LightController extends Controller {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
get min() {
|
get _min() {
|
||||||
switch (this.attribute) {
|
switch (this.attribute) {
|
||||||
case "color_temp":
|
case "color_temp":
|
||||||
return this.stateObj.attributes.min_mireds;
|
return this.stateObj.attributes.min_mireds;
|
||||||
@ -36,7 +36,7 @@ export class LightController extends Controller {
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
get max() {
|
get _max() {
|
||||||
switch (this.attribute) {
|
switch (this.attribute) {
|
||||||
case "color_temp":
|
case "color_temp":
|
||||||
return this.stateObj.attributes.max_mireds;
|
return this.stateObj.attributes.max_mireds;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user