mirror of
https://github.com/home-assistant/core.git
synced 2025-08-04 13:15:18 +02:00
Merge pull request #1901 from ishults/dev
Use protocol of web page for yr.no pictures
This commit is contained in:
@@ -111,7 +111,7 @@ class YrSensor(Entity):
|
||||
"""Weather symbol if type is symbol."""
|
||||
if self.type != 'symbol':
|
||||
return None
|
||||
return "http://api.met.no/weatherapi/weathericon/1.1/" \
|
||||
return "//api.met.no/weatherapi/weathericon/1.1/" \
|
||||
"?symbol={0};content_type=image/png".format(self._state)
|
||||
|
||||
@property
|
||||
|
Reference in New Issue
Block a user