Fix Typo in ds18b20-web.lua (#3561)

This commit is contained in:
Josef Fröhle 2022-12-14 08:31:39 +01:00 committed by GitHub
parent 193fe3593e
commit 4e3990d81c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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 &#8451</br>", resp = resp .. string.format("Sensor %s: %s &#8451;</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