Skip to content

Commit

Permalink
Merge pull request home-assistant#1901 from ishults/dev
Browse files Browse the repository at this point in the history
Use protocol of web page for yr.no pictures
  • Loading branch information
SEJeff committed Apr 24, 2016
2 parents 27ce394 + 7afdca1 commit d0357cd
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 d0357cd

Please sign in to comment.