Skip to content
This repository has been archived by the owner on May 28, 2022. It is now read-only.

Commit

Permalink
Another typo
Browse files Browse the repository at this point in the history
  • Loading branch information
ludeeus committed Aug 16, 2018
1 parent 89ef920 commit f04ad8f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.3.1
0.3.2
2 changes: 1 addition & 1 deletion ext-weblink.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ class ExtWebLink extends HTMLElement {
if (!this.config.entity) {
var state = "";
} else {
if (hass.states[this.config.entity].attributes.unit_of_meassurement) {
if (hass.states[this.config.entity].attributes.unit_of_measurement) {
var state = hass.states[this.config.entity].state+' '+hass.states[this.config.entity].attributes.unit_of_measurement;
} else {
var state = hass.states[this.config.entity].state
Expand Down

0 comments on commit f04ad8f

Please sign in to comment.