Move exit_reparse to advanced

This commit is contained in:
Edward Firmo
2024-01-31 03:35:38 +01:00
parent a01486b454
commit 74ea1ebb0e
2 changed files with 24 additions and 19 deletions

View File

@@ -29,6 +29,30 @@ button:
captive_portal:
script:
- id: exit_reparse
mode: restart
then:
- logger.log: "Exit reparse"
- uart.write: "DRAKJHSUYDGBNCJHGJKSHBDN"
- uart.write: [0xFF, 0xFF, 0xFF]
# - uart.write: "recmod=0"
# - uart.write: [0xFF, 0xFF, 0xFF]
# - uart.write: "recmod=0"
# - uart.write: [0xFF, 0xFF, 0xFF]
# - uart.write: "connect"
# - uart.write: [0xFF, 0xFF, 0xFF]
# - uart.write: [0xFF, 0xFF]
# - uart.write: "connect"
# - uart.write: [0xFF, 0xFF, 0xFF]
# - uart.write: "bkcmd=3"
# - uart.write: [0xFF, 0xFF, 0xFF]
- id: !extend stop_all
then:
- lambda: |-
exit_reparse->stop();
sensor:
##### Uptime Sensors #####
- name: Uptime seconds

View File

@@ -1892,24 +1892,6 @@ script:
}
disp1->set_component_text_printf(component.c_str(), "%s", wrappedText.c_str());
- id: exit_reparse
mode: restart
then:
- logger.log: "Exit reparse"
- uart.write: "DRAKJHSUYDGBNCJHGJKSHBDN"
- uart.write: [0xFF, 0xFF, 0xFF]
# - uart.write: "recmod=0"
# - uart.write: [0xFF, 0xFF, 0xFF]
# - uart.write: "recmod=0"
# - uart.write: [0xFF, 0xFF, 0xFF]
# - uart.write: "connect"
# - uart.write: [0xFF, 0xFF, 0xFF]
# - uart.write: [0xFF, 0xFF]
# - uart.write: "connect"
# - uart.write: [0xFF, 0xFF, 0xFF]
# - uart.write: "bkcmd=3"
# - uart.write: [0xFF, 0xFF, 0xFF]
- id: global_settings
mode: restart
parameters:
@@ -2899,7 +2881,6 @@ script:
check_versions->stop();
display_embedded_temp->stop();
display_wrapped_text->stop();
exit_reparse->stop();
global_settings->stop();
ha_button->stop();
ha_call_service->stop();