From 0b35738aa1ccc7e82d00e845c4548af74af600f4 Mon Sep 17 00:00:00 2001 From: Patrick Moessler Date: Sun, 14 Jan 2024 01:55:46 +0100 Subject: [PATCH] enable web server --- esp32-clock-template.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/esp32-clock-template.yaml b/esp32-clock-template.yaml index 24d6933..253e077 100644 --- a/esp32-clock-template.yaml +++ b/esp32-clock-template.yaml @@ -31,6 +31,9 @@ wifi: captive_portal: +web_server: + local: true + external_components: - source: type: local @@ -45,7 +48,7 @@ time: then: - logger.log: level: INFO - format: "%2d%2d%2d%2d" + format: "%2d %2d %2d %2d" args: ['int(id(runtime).state/3600)%24', 'int(id(runtime).state/60)%60', 'int(id(runtime).state)%60', 'int(id(runtime).state-int(id(runtime).state)*25)'] spi: