Condition is already a string
This commit is contained in:
parent
417711d665
commit
afef255a25
1 changed files with 1 additions and 1 deletions
|
@ -99,7 +99,7 @@ class WUndergroundSensor(Entity):
|
|||
@property
|
||||
def name(self):
|
||||
"""Return the name of the sensor."""
|
||||
return "PWS_" + str(self._condition)
|
||||
return "PWS_" + self._condition
|
||||
|
||||
@property
|
||||
def state(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue