mirror of
https://github.com/home-assistant/core.git
synced 2025-08-05 13:45:12 +02:00
Refactor yr sensor
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user