Skip to content

Commit

Permalink
yamahayxc: fix startup
Browse files Browse the repository at this point in the history
  • Loading branch information
Morg42 committed Oct 19, 2024
1 parent 055b311 commit 3c3bec5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions yamahayxc/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 = ...'
Expand Down
2 changes: 1 addition & 1 deletion yamahayxc/plugin.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3c3bec5

Please sign in to comment.