Skip to content

Commit

Permalink
xiaomi_vac plugin: add super.init to init function, bump version to 1…
Browse files Browse the repository at this point in the history
….2.4
  • Loading branch information
onkelandy committed Sep 22, 2023
1 parent c1bd02d commit 45f88c4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion xiaomi_vac/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down
2 changes: 1 addition & 1 deletion xiaomi_vac/plugin.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 45f88c4

Please sign in to comment.