Browse Source

Add option to enable JSON (#108)

Fixes #107
pull/113/head
Michel Jung 3 years ago
committed by GitHub
parent
commit
a2845027e1
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 11
      src/components/PageComponents/ModuleConfig/MQTT.tsx

11
src/components/PageComponents/ModuleConfig/MQTT.tsx

@ -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"
}
]
}
]
}

Loading…
Cancel
Save