mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 03:07:37 +00:00
Refactor yr sensor
This commit is contained in:
parent
750ca79ac0
commit
ac41f3028c
@ -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…
x
Reference in New Issue
Block a user