Remove unique ID from netatmo (#12317)

* Remove unique ID from netatmo

* Shame platform in error message
This commit is contained in:
Paulus Schoutsen authored and GitHub committed 2018-02-11 19:33:37 -08:00
1 parent f28fa7447e
commit 2e3524147c
4 files changed
+5 -21

No files matched your search

@@ -67,8 +67,6 @@ class NetatmoCamera(Camera):
self._vpnurl, self._localurl = self._data.camera_data.cameraUrls(
camera=camera_name
)
self._unique_id = data.camera_data.cameraByName(
camera=camera_name, home=home)['id']
self._cameratype = camera_type
def camera_image(self):
@@ -112,8 +110,3 @@ class NetatmoCamera(Camera):
elif self._cameratype == "NACamera":
return "Welcome"
return None
@property
def unique_id(self):
"""Return the unique ID for this camera."""
return self._unique_id