From 7afdca11218c7d3f1883a4e5fc1a00fccfc96aa7 Mon Sep 17 00:00:00 2001 From: Igor Shults Date: Sat, 23 Apr 2016 21:09:39 -0500 Subject: [PATCH] Use protocol of web page for yr.no pictures --- 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 1c73628398f..725043c4da8 100644 --- a/homeassistant/components/sensor/yr.py +++ b/homeassistant/components/sensor/yr.py @@ -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