Initial Pavlok integration

This commit is contained in:
2026-08-18 00:11:00 -04:00
parent 692077f4c4
commit 04bf4b2c45
6 changed files with 168 additions and 4 deletions
+52
View File
@@ -0,0 +1,52 @@
module.exports = [
{
"type": "heading",
"defaultValue": "Trigalarm | Settings"
},
{
"type": "section",
"items": [
{
"type": "heading",
"size": 3,
"defaultValue": "Pavlok Integration"
},
{
"id": "pavlok_enable",
"type": "toggle",
"messageKey": "PKJS_PAVLOK_ENABLE",
"defaultValue": false,
"label": "Enabled"
},
{
"id": "pavlok_api_key",
"type": "input",
"messageKey": "PKJS_PAVLOK_API_KEY",
"label": "API Key"
},
{
"id": "pavlok_zap_intensity",
"type": "slider",
"messageKey": "PKJS_PAVLOK_ZAP_INTENSITY",
defaultValue: 30,
min: 5,
max: 100,
step: 5,
"label": "Zap Intensity"
},
{
"id": "pavlok_interval",
"type": "slider",
"messageKey": "PKJS_PAVLOK_INTERVAL",
defaultValue: 5,
min: 1,
max: 60,
"label": "Zap Repeat Interval (Seconds - NOT IMPLEMENTED)"
}
]
},
{
"type": "submit",
"defaultValue": "Save Settings"
}
];