diff --git a/lua_modules/ds18b20/ds18b20-web.lua b/lua_modules/ds18b20/ds18b20-web.lua index bc401d3e..4c988ccb 100644 --- a/lua_modules/ds18b20/ds18b20-web.lua +++ b/lua_modules/ds18b20/ds18b20-web.lua @@ -11,7 +11,7 @@ local function readout(temps) "ESP8266
" for addr, temp in pairs(temps) do - resp = resp .. string.format("Sensor %s: %s ℃
", + resp = resp .. string.format("Sensor %s: %s ℃
", ('%02X:%02X:%02X:%02X:%02X:%02X:%02X:%02X '):format(addr:byte(1,8)), temp) end