This commit is contained in:
Thomas Lovén 2019-08-06 07:42:51 +02:00
parent c073732c35
commit 638c73ae1a
2 changed files with 3 additions and 3 deletions

File diff suppressed because one or more lines are too long

View File

@ -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;