From e3a9c8281ef56845b3daaa9265ba0d2ea12e6fe3 Mon Sep 17 00:00:00 2001 From: aschwith Date: Thu, 21 Nov 2024 21:11:14 +0100 Subject: [PATCH] database: bumped version to 1.16.14. Added min and max values for plugin time precision plugin attribute. --- database/__init__.py | 2 +- database/plugin.yaml | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/database/__init__.py b/database/__init__.py index 11c604125..dd4dc3bb1 100755 --- a/database/__init__.py +++ b/database/__init__.py @@ -51,7 +51,7 @@ class Database(SmartPlugin): """ ALLOW_MULTIINSTANCE = True - PLUGIN_VERSION = '1.6.13' + PLUGIN_VERSION = '1.6.14' # SQL queries: {item} = item table name, {log} = log table name # time, item_id, val_str, val_num, val_bool, changed diff --git a/database/plugin.yaml b/database/plugin.yaml index 19c732339..a4c6732a2 100755 --- a/database/plugin.yaml +++ b/database/plugin.yaml @@ -11,7 +11,7 @@ plugin: keywords: database support: https://knx-user-forum.de/forum/supportforen/smarthome-py/1021844-neues-database-plugin - version: 1.6.13 # Plugin version + version: 1.6.14 # Plugin version sh_minversion: '1.9.3.2' # minimum shNG version to use this plugin # sh_maxversion: # maximum shNG version to use this plugin (leave empty if latest) multi_instance: True # plugin supports multi instance @@ -60,9 +60,11 @@ parameters: time_precision: type: int default: 3 + valid_min: 0 + valid_max: 3 description: de: 'Genauigkeit der aus der Datenbank ausgelesenen Zeitwerte (Nachkommastellen (für Sekunden)).' - en: 'Precision of time values read from database (digits after comma (for seconds).' + en: 'Precision of time values read from database (digits after comma (for seconds)).' count_logentries: type: bool