mirror of
https://github.com/home-assistant/core.git
synced 2025-07-15 09:17:10 +00:00
Condition is already a string
This commit is contained in:
parent
417711d665
commit
afef255a25
@ -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…
x
Reference in New Issue
Block a user