Add option to enable JSON (#108)

Fixes #107
This commit is contained in:
Michel Jung
2023-04-20 00:05:24 +02:00
committed by GitHub
parent 7748d25886
commit a2845027e1

View File

@@ -76,6 +76,17 @@ export const MQTT = (): JSX.Element => {
fieldName: "enabled"
}
]
},
{
type: "toggle",
name: "jsonEnabled",
label: "JSON Enabled",
description: "Whether to send/consume JSON packets on MQTT",
disabledBy: [
{
fieldName: "enabled"
}
]
}
]
}