netatmo api is now in pip as pyatmo (#14824)

Signed-off-by: Hugo D. (jabesq) <jabesq@gmail.com>
This commit is contained in:
Hugo Dupras authored and Paulus Schoutsen committed 2018-06-05 11:55:53 -04:00
1 parent b3b4f7468d
commit 640e499964
6 files changed
+20 -22

No files matched your search

@@ -68,12 +68,12 @@ def setup_platform(hass, config, add_devices, discovery_info=None):
module_name = None
import lnetatmo
import pyatmo
try:
data = CameraData(netatmo.NETATMO_AUTH, home)
if not data.get_camera_names():
return None
except lnetatmo.NoDevice:
except pyatmo.NoDevice:
return None
welcome_sensors = config.get(