From 3c3bec525393bc3b1e9c9715fe49804d2ed04eb6 Mon Sep 17 00:00:00 2001 From: Morg42 <43153739+Morg42@users.noreply.github.com> Date: Sat, 19 Oct 2024 22:05:21 +0200 Subject: [PATCH] yamahayxc: fix startup --- yamahayxc/__init__.py | 4 ++-- yamahayxc/plugin.yaml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/yamahayxc/__init__.py b/yamahayxc/__init__.py index 3591d27f9..35975be9f 100755 --- a/yamahayxc/__init__.py +++ b/yamahayxc/__init__.py @@ -59,12 +59,12 @@ class YamahaYXC(SmartPlugin): # public functions # - def __init__(self, **kwargs): + def __init__(self, smarthome, **kwargs): """ Default init function """ super().__init__(**kwargs) - + self._sh = smarthome self.logger.info("Init YamahaYXC") # valid commands for use in item configuration 'yamahayxc_cmd = ...' diff --git a/yamahayxc/plugin.yaml b/yamahayxc/plugin.yaml index 9da7b64bf..57eff09f8 100755 --- a/yamahayxc/plugin.yaml +++ b/yamahayxc/plugin.yaml @@ -64,7 +64,7 @@ plugin: # documentation: https://github.com/smarthomeNG/smarthome/wiki/CLI-Plugin # url of documentation (wiki) page support: https://knx-user-forum.de/forum/supportforen/smarthome-py/1174064-plugin-yamaha-musiccast-geräte-neuere-generation - version: 1.0.6 # Plugin version + version: 1.0.7 # Plugin version sh_minversion: '1.3' # 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