Skip to content

Commit

Permalink
Fix #90
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasloven committed Jan 18, 2020
1 parent 51d6893 commit 998a9a3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion slider-entity-row.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/light-controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -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} %`;
Expand Down

0 comments on commit 998a9a3

Please sign in to comment.