From 20ed194b68fc8a7cfe70e39840faed77c589ca19 Mon Sep 17 00:00:00 2001 From: Michael Graf Date: Sat, 15 May 2021 16:12:56 +0200 Subject: [PATCH] Fix device info #2 --- __init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/__init__.py b/__init__.py index edd32d2..8595f13 100644 --- a/__init__.py +++ b/__init__.py @@ -188,7 +188,7 @@ class VorwerkState: def _update_state(self): try: - if self.robot_info is None: + if not self.robot_info: self.robot_info = self.robot.get_general_info().json().get("data") except NeatoRobotException: _LOGGER.warning("Couldn't fetch robot information of %s", self.robot.name)