From 45f88c44f22d798e33c7f8c9db3c53a008d28ce6 Mon Sep 17 00:00:00 2001 From: Onkel Andy Date: Fri, 22 Sep 2023 22:03:26 +0200 Subject: [PATCH] xiaomi_vac plugin: add super.init to init function, bump version to 1.2.4 --- xiaomi_vac/__init__.py | 3 ++- xiaomi_vac/plugin.yaml | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/xiaomi_vac/__init__.py b/xiaomi_vac/__init__.py index 6eff7cb9b..324ed57df 100755 --- a/xiaomi_vac/__init__.py +++ b/xiaomi_vac/__init__.py @@ -51,9 +51,10 @@ class Robvac(SmartPlugin): ALLOW_MULTIINSTANCE = False - PLUGIN_VERSION = "1.2.3" + PLUGIN_VERSION = "1.2.4" def __init__(self, smarthome): + super().__init__() self._ip = self.get_parameter_value("ip") self._token = self.get_parameter_value("token") self._cycle = self.get_parameter_value("read_cycle") diff --git a/xiaomi_vac/plugin.yaml b/xiaomi_vac/plugin.yaml index 96a37f94c..27ef287af 100755 --- a/xiaomi_vac/plugin.yaml +++ b/xiaomi_vac/plugin.yaml @@ -22,7 +22,7 @@ plugin: In newer Valetudo versions you find the token in the log as LocalSecret. Convert the token at https://gchq.github.io/CyberChef/#recipe=To_Hex to 32 characters. ' support: https://knx-user-forum.de/forum/supportforen/smarthome-py/1453597-support-thread-f%C3%BCr-xiaomi-saugroboter-plugin - version: 1.2.3 # Plugin version + version: 1.2.4 # Plugin version sh_minversion: 1.4 # minimum shNG version to use this plugin multi_instance: False # plugin supports multi instance classname: Robvac # class containing the plugin