From d5ab292ff321fee4d41418406659babed2fd6fd3 Mon Sep 17 00:00:00 2001 From: Paulus Schoutsen Date: Sat, 1 Oct 2016 23:12:58 -0700 Subject: [PATCH] Sensor.emoncms: Never disable SSL verification. --- homeassistant/components/sensor/emoncms.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/homeassistant/components/sensor/emoncms.py b/homeassistant/components/sensor/emoncms.py index 9cd131f9dc1..6ed269bc467 100644 --- a/homeassistant/components/sensor/emoncms.py +++ b/homeassistant/components/sensor/emoncms.py @@ -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