Fix horizontal line in GUI
This commit is contained in:
parent
26ac0cc468
commit
2540cf7e81
@ -50,12 +50,15 @@ class mqttdata_cls
|
|||||||
end
|
end
|
||||||
|
|
||||||
def web_sensor()
|
def web_sensor()
|
||||||
var msg = format("</table>{t}") # Terminate two column table and open new table
|
if self.list_buffer.size()
|
||||||
for i: self.list_buffer.keys()
|
var msg = format("</table>{t}") # Terminate two column table and open new table
|
||||||
msg += self.list_buffer[i]
|
for i: self.list_buffer.keys()
|
||||||
|
msg += self.list_buffer[i]
|
||||||
|
end
|
||||||
|
msg += "</table>{t}" # Terminate three column table and open new table
|
||||||
|
tasmota.web_send(msg) # Do not use tasmota.web_send_decimal() which will replace IPAddress dots
|
||||||
|
tasmota.web_send_decimal("") # Force horizontal line
|
||||||
end
|
end
|
||||||
msg += "</table>{t}" # Terminate three column table and open new table
|
|
||||||
tasmota.web_send(msg) # Do not use tasmota.web_send_decimal() which will replace IPAddress dots
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user