mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-15 23:06:30 +00:00
Group "MQTT TLS" in a single sticker (#23348)
This commit is contained in:
parent
402c9e8e8d
commit
2c2f7f1149
@ -2120,9 +2120,10 @@ bool Xdrv02(uint32_t function)
|
||||
case FUNC_WEB_STATUS:
|
||||
// MqttConnectCount(), mqtt_tls
|
||||
if (MqttIsConnected()) {
|
||||
WSContentStatusSticker(PSTR("MQTT"), -1);
|
||||
if (MqttTLSEnabled()) {
|
||||
WSContentStatusSticker(PSTR("TLS"), -1);
|
||||
WSContentStatusSticker(PSTR("MQTT TLS"), -1);
|
||||
} else {
|
||||
WSContentStatusSticker(PSTR("MQTT"), -1);
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user