From 0e5d72b1d17603f23c2c41859cc1eca34ade6c01 Mon Sep 17 00:00:00 2001 From: Onkel Andy Date: Sun, 17 Sep 2023 00:25:58 +0200 Subject: [PATCH] unifi plugin: bump to version 1.6.3 --- unifi/__init__.py | 7 +++---- unifi/plugin.yaml | 2 +- unifi/webif/static/img/readme.txt | 6 ------ 3 files changed, 4 insertions(+), 11 deletions(-) delete mode 100755 unifi/webif/static/img/readme.txt diff --git a/unifi/__init__.py b/unifi/__init__.py index 76b85df1f..c47220d43 100755 --- a/unifi/__init__.py +++ b/unifi/__init__.py @@ -5,8 +5,7 @@ ######################################################################### # This file is part of SmartHomeNG. # -# Sample plugin for new plugins to run with SmartHomeNG version 1.4 and -# upwards. +# Plugin to read and control some features of UniFi Controllers # # SmartHomeNG is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -290,13 +289,13 @@ class UniFiControllerClient(SmartPlugin): the update functions for the items """ - PLUGIN_VERSION = '1.6.2' + PLUGIN_VERSION = '1.6.3' def __init__(self, sh, *args, **kwargs): """ Initalizes the plugin. The parameters describe for this method are pulled from the entry in plugin.yaml. """ - + super().__init__() from bin.smarthome import VERSION if '.'.join(VERSION.split('.', 2)[:2]) <= '1.5': self.logger = logging.getLogger(__name__) diff --git a/unifi/plugin.yaml b/unifi/plugin.yaml index 343654488..285c0eacd 100755 --- a/unifi/plugin.yaml +++ b/unifi/plugin.yaml @@ -12,7 +12,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/1278068-unifi-controller-api-wlan - version: 1.6.2 # Plugin version + version: 1.6.3 # Plugin version sh_minversion: 1.9.0 # 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 diff --git a/unifi/webif/static/img/readme.txt b/unifi/webif/static/img/readme.txt deleted file mode 100755 index 1a7c55eef..000000000 --- a/unifi/webif/static/img/readme.txt +++ /dev/null @@ -1,6 +0,0 @@ -This directory is for storing images that are used by the web interface. - -If you want to have your own logo on the top of the web interface, store it here and name it plugin_logo.. - -Extension can be png, svg or jpg -