Sensor.emoncms: Never disable SSL verification.

This commit is contained in:
Paulus Schoutsen 2016-10-01 23:12:58 -07:00
parent 9f8acbec95
commit d5ab292ff3

View file

@ -202,8 +202,7 @@ class EmonCmsData(object):
"""Get the latest data."""
try:
req = requests.get(self._url, params={"apikey": self._apikey},
verify=False, allow_redirects=True,
timeout=5)
allow_redirects=True, timeout=5)
except requests.exceptions.RequestException as exception:
_LOGGER.error(exception)
return