No need no need to set variable

This commit is contained in:
Teagan M. Glenn committed 2016-08-17 22:31:28 -06:00
1 parent dd14f90afb
commit e54ba5ff72
1 file changed
+1 -2
@@ -111,9 +111,8 @@ class WUndergroundSensor(Entity):
@property
def entity_picture(self):
"""Return the entity picture."""
value = self.rest.data
if self._condition == 'weather':
return value['icon_url']
return self.rest.data['icon_url']
@property
def unit_of_measurement(self):