From 573f7c4db84b8fadad6643e79453261c27f6eaf9 Mon Sep 17 00:00:00 2001 From: aschwith Date: Thu, 21 Nov 2024 21:23:37 +0100 Subject: [PATCH] neato: marked as restartable; minor fix for plugin online status after plugin stop. --- neato/__init__.py | 1 + neato/plugin.yaml | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/neato/__init__.py b/neato/__init__.py index 90967a24b..92b41e846 100755 --- a/neato/__init__.py +++ b/neato/__init__.py @@ -74,6 +74,7 @@ def stop(self): self.scheduler_remove('poll_device') self.logger.debug("Stop method called") self.alive = False + self.robot._backendOnline = False def parse_item(self, item): diff --git a/neato/plugin.yaml b/neato/plugin.yaml index 7562321e7..35843b0d3 100755 --- a/neato/plugin.yaml +++ b/neato/plugin.yaml @@ -13,10 +13,10 @@ plugin: support: https://knx-user-forum.de/forum/supportforen/smarthome-py/1417295-support-thread-plugin-neato version: 1.6.9 # Plugin version - sh_minversion: '1.8.0' # minimum shNG version to use this plugin + sh_minversion: 1.8.0 # minimum shNG version to use this plugin # sh_maxversion: # maximum shNG version to use this plugin (leave empty if latest) multi_instance: False # plugin supports multi instance - restartable: unknown + restartable: True classname: Neato # class containing the plugin parameters: