From 273db75248e2a286362bb593ccabd0b4c05699f3 Mon Sep 17 00:00:00 2001 From: Andrey Date: Fri, 19 Jan 2018 14:06:34 +0200 Subject: [PATCH] Always load yr picture from https (#11796) --- homeassistant/components/sensor/yr.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/components/sensor/yr.py b/homeassistant/components/sensor/yr.py index 0b4c6919994..71a4e60e8a6 100644 --- a/homeassistant/components/sensor/yr.py +++ b/homeassistant/components/sensor/yr.py @@ -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