Loading plugins v 0.2 🔌

This commit is contained in:
jokob-sk
2024-05-16 21:46:02 +10:00
parent f97339020c
commit ecc6eb5c5d
12 changed files with 1285 additions and 1247 deletions

View File

@@ -282,6 +282,7 @@ while ($row = $result -> fetchArray (SQLITE3_ASSOC)) {
if(getSetting(group+"_RUN") != "")
{
// 🔺 update also in initialise.py if you update below list/array
let isEnabled = ["once", "schedule", "always_after_scan", "on_new_device", "on_notification", "before_config_save", "before_name_updates" ].includes(getSetting(group+"_RUN"));
isEnabled ? onOff = 'dot-circle' : onOff = 'circle';