From 933b7a017b332e63cedd500723b2d6a90c1b8889 Mon Sep 17 00:00:00 2001 From: Jacob McSwain Date: Mon, 4 Nov 2019 09:15:28 -0600 Subject: [PATCH] Camera: Bugfix: online -> is_online --- custom_components/badnest/camera.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom_components/badnest/camera.py b/custom_components/badnest/camera.py index c0e71de..c575ffe 100644 --- a/custom_components/badnest/camera.py +++ b/custom_components/badnest/camera.py @@ -65,7 +65,7 @@ class NestCamera(Camera): @property def is_on(self): """Return true if on.""" - return self._device.device_data[self._uuid]['online'] + return self._device.device_data[self._uuid]['is_online'] @property def is_recording(self):