MQTT: allow tls prefix (#26998)
This commit is contained in:
parent
339ad9002d
commit
fbaebef0e8
1 changed files with 4 additions and 0 deletions
|
|
@ -687,6 +687,10 @@ presets:
|
|||
help:
|
||||
de: IP Adresse oder der Hostname des MQTT Brokers
|
||||
en: IP address or hostname of the MQTT broker
|
||||
pattern:
|
||||
regex: "^(tls://)?[^\\/\\s]+(:[0-9]{1,5})?$" # optional tls:// prefix, any char except slash/space, optional :port
|
||||
examples:
|
||||
["192.168.1.100", "example.com", "server.local:8080", "tls://mqtt.example.com:8883"]
|
||||
- name: port
|
||||
default: 1883
|
||||
help:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue