mirror of
https://github.com/home-assistant/core.git
synced 2025-07-15 17:27:10 +00:00
Always load yr picture from https (#11796)
This commit is contained in:
parent
5ef7a8d55a
commit
273db75248
@ -129,7 +129,7 @@ class YrSensor(Entity):
|
||||
"""Weather symbol if type is symbol."""
|
||||
if self.type != 'symbol':
|
||||
return None
|
||||
return "//api.met.no/weatherapi/weathericon/1.1/" \
|
||||
return "https://api.met.no/weatherapi/weathericon/1.1/" \
|
||||
"?symbol={0};content_type=image/png".format(self._state)
|
||||
|
||||
@property
|
||||
|
Loading…
x
Reference in New Issue
Block a user