mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-16 23:36:34 +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:
|
case FUNC_WEB_STATUS:
|
||||||
// MqttConnectCount(), mqtt_tls
|
// MqttConnectCount(), mqtt_tls
|
||||||
if (MqttIsConnected()) {
|
if (MqttIsConnected()) {
|
||||||
WSContentStatusSticker(PSTR("MQTT"), -1);
|
|
||||||
if (MqttTLSEnabled()) {
|
if (MqttTLSEnabled()) {
|
||||||
WSContentStatusSticker(PSTR("TLS"), -1);
|
WSContentStatusSticker(PSTR("MQTT TLS"), -1);
|
||||||
|
} else {
|
||||||
|
WSContentStatusSticker(PSTR("MQTT"), -1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user