mirror of
https://github.com/home-assistant/core.git
synced 2025-08-16 02:51:40 +02:00
Condition is already a string
This commit is contained in:
@@ -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):
|
||||
|
Reference in New Issue
Block a user