Fix Typo in ds18b20-web.lua (#3561)
This commit is contained in:
parent
f5ad76acb3
commit
d04d024bfc
|
@ -11,7 +11,7 @@ local function readout(temps)
|
||||||
"<b>ESP8266</b></br>"
|
"<b>ESP8266</b></br>"
|
||||||
|
|
||||||
for addr, temp in pairs(temps) do
|
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)
|
('%02X:%02X:%02X:%02X:%02X:%02X:%02X:%02X '):format(addr:byte(1,8)), temp)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue