Fix Typo in ds18b20-web.lua (#3561)
This commit is contained in:
parent
193fe3593e
commit
4e3990d81c
|
@ -11,7 +11,7 @@ local function readout(temps)
|
|||
"<b>ESP8266</b></br>"
|
||||
|
||||
for addr, temp in pairs(temps) do
|
||||
resp = resp .. string.format("Sensor %s: %s ℃</br>",
|
||||
resp = resp .. string.format("Sensor %s: %s ℃</br>",
|
||||
('%02X:%02X:%02X:%02X:%02X:%02X:%02X:%02X '):format(addr:byte(1,8)), temp)
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue