From 247a962c39e4ade2d9fb0b280d400d82fd8db56d Mon Sep 17 00:00:00 2001 From: jwansek Date: Sun, 15 Oct 2023 21:07:46 +0100 Subject: Added plug usage table to web UI, with HTTP requests --- templates/index.html.j2 | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) (limited to 'templates/index.html.j2') diff --git a/templates/index.html.j2 b/templates/index.html.j2 index 534b1ce..69fcd31 100644 --- a/templates/index.html.j2 +++ b/templates/index.html.j2 @@ -52,8 +52,37 @@ + + + + + + + + + {% for host, description_md in tasmota_devices %} + + + + + + + {% endfor %} + + + + + + +
Plug local hostnamePlug descriptionCurrent power usage (W)Power usage yesterday (kWh)
{{ host }}{{ description_md|safe }}
+ +