From fdc8b81fd0f0bedabacbd255eeeb5e569d212c73 Mon Sep 17 00:00:00 2001 From: Edward Firmo <94725493+edwardtfn@users.noreply.github.com> Date: Fri, 3 Nov 2023 19:40:57 +0100 Subject: [PATCH] Exit reparse on boot --- nspanel_esphome_core.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/nspanel_esphome_core.yaml b/nspanel_esphome_core.yaml index 4b4de00..ebe1cf9 100644 --- a/nspanel_esphome_core.yaml +++ b/nspanel_esphome_core.yaml @@ -34,6 +34,17 @@ esphome: condition: - lambda: !lambda return id(disp1).is_setup(); timeout: 20s + - logger.log: "Exit reparse" + - uart.write: + id: tf_uart + data: "DRAKJHSUYDGBNCJHGJKSHBDN" + - uart.write: + id: tf_uart + data: [0xFF, 0xFF, 0xFF] + - wait_until: + condition: + - lambda: !lambda return id(disp1).is_setup(); + timeout: 20s - lambda: |- static const char *const TAG = "on_boot"; if (not id(disp1).is_setup()) {