This commit is contained in:
Thomas Lovén 2020-01-18 21:10:14 +01:00
parent 51d68933cf
commit 998a9a3f2c
2 changed files with 2 additions and 2 deletions

File diff suppressed because one or more lines are too long

View File

@ -120,7 +120,7 @@ export class LightController extends Controller {
return this._hass.localize("state.default.off");
switch (this.attribute) {
case "color_temp":
return `${this.value} K`;
return `${this.value}`;
case "brightness":
case "saturation":
return `${this.value} %`;