* Hide HardcodedDevice

This commit is contained in:
Ingan121
2025-08-17 22:55:03 +09:00
parent 7a53dac89d
commit 7fc8621eec
2 changed files with 3 additions and 2 deletions

View File

@@ -4,8 +4,9 @@ import SuperGenericApiDevice from "./supergeneric.js";
// add your handlers here
export const CustomHandlers = {
"hardcoded": {
"disabled": true,
"name": "Hardcoded Example Custom Handler",
"description": "Simple custom handler for testing. Values must be changed by directing editing the source. Don't use this unless you're testing the extension.",
"description": "Simple custom handler for testing. Values must be changed by directly editing the source. Don't use this unless you're testing the extension.",
"handler": HardcodedDevice
},
"supergeneric": {

View File

@@ -292,7 +292,7 @@ export class CustomHandlerManager {
for (const handler in CustomHandlers) {
if (CustomHandlers[handler].disabled) {
return;
continue;
}
const option = document.createElement('option');
option.text = CustomHandlers[handler].name;