Refactor yr sensor
This commit is contained in:
parent
750ca79ac0
commit
ac41f3028c
1 changed files with 1 additions and 3 deletions
|
@ -141,9 +141,7 @@ class YrSensor(Entity):
|
|||
data[ATTR_ENTITY_PICTURE] = "http://api.met.no/weatherapi/weathericon/1.1/" \
|
||||
"?symbol=" + str(symbol_nr) + \
|
||||
";content_type=image/png"
|
||||
data["description_image"] = "http://api.met.no/weatherapi/weathericon/1.1/" \
|
||||
"?symbol=" + str(symbol_nr) + \
|
||||
";content_type=image/png"
|
||||
|
||||
return data
|
||||
|
||||
@property
|
||||
|
|
Loading…
Add table
Reference in a new issue