mirror of
https://github.com/UtilitechAS/amsreader-firmware.git
synced 2026-04-17 09:10:52 +00:00
Build fix
This commit is contained in:
@@ -210,6 +210,7 @@ bool HomeAssistantMqttHandler::publishSystem(HwTools* hw) {
|
||||
#elif defined(ESP32)
|
||||
String haUID = WiFi.getHostname();
|
||||
#endif
|
||||
haUID.replace("-", "_");
|
||||
String haUrl = "http://" + haUID + ".local/";
|
||||
|
||||
for(int i=0;i<sensors;i++){
|
||||
|
||||
Reference in New Issue
Block a user