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