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

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
ludeeus committed Aug 16, 2018
1 parent dd8d0fd commit e2c08d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext-weblink.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ class ExtWebLink extends HTMLElement {
var state = "";
} else {
if (hass.states[this.config.entity].attributes.unit_of_meassurement) {
var state = hass.states[this.config.entity].state+' '+hass.states[this.config.entity].attributes.unit_of_meassurement;
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 e2c08d2

Please sign in to comment.