mirror of
https://github.com/home-assistant/core.git
synced 2025-07-16 01:37:08 +00:00
Condition is already a string
This commit is contained in:
parent
417711d665
commit
afef255a25
@ -99,7 +99,7 @@ class WUndergroundSensor(Entity):
|
|||||||
@property
|
@property
|
||||||
def name(self):
|
def name(self):
|
||||||
"""Return the name of the sensor."""
|
"""Return the name of the sensor."""
|
||||||
return "PWS_" + str(self._condition)
|
return "PWS_" + self._condition
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def state(self):
|
def state(self):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user