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