Removed test code

This commit is contained in:
Gunnar Skjold
2022-03-20 20:17:19 +01:00
parent a07c55889f
commit fb60127cf7

View File

@@ -210,8 +210,8 @@ bool HomeAssistantMqttHandler::publishSystem(HwTools* hw) {
#elif defined(ESP32)
String haUID = WiFi.getHostname();
#endif
haUID.replace("-", "_");
String haUrl = "http://" + haUID + ".local/";
// Could this be necessary? haUID.replace("-", "_");
for(int i=0;i<sensors;i++){
snprintf_P(json, BufferSize, HADISCOVER_JSON,