Skip to content

Commit

Permalink
Use protocol of web page for yr.no pictures
Browse files Browse the repository at this point in the history
  • Loading branch information
ishults committed Apr 24, 2016
1 parent 27ce394 commit 7afdca1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion homeassistant/components/sensor/yr.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ def entity_picture(self):
"""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
Expand Down

0 comments on commit 7afdca1

Please sign in to comment.