Fix #90
This commit is contained in:
parent
51d68933cf
commit
998a9a3f2c
File diff suppressed because one or more lines are too long
@ -120,7 +120,7 @@ export class LightController extends Controller {
|
|||||||
return this._hass.localize("state.default.off");
|
return this._hass.localize("state.default.off");
|
||||||
switch (this.attribute) {
|
switch (this.attribute) {
|
||||||
case "color_temp":
|
case "color_temp":
|
||||||
return `${this.value} K`;
|
return `${this.value}`;
|
||||||
case "brightness":
|
case "brightness":
|
||||||
case "saturation":
|
case "saturation":
|
||||||
return `${this.value} %`;
|
return `${this.value} %`;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user