Closed vitalyrepin closed 3 weeks ago
Good catch! Keeping the docs updated is the hardest part of this project. 😆
I've already updated in dev
and it will be released soon. Meanwhile, you can just remove that line, as the boot sequence is now automatically called when the display is restarted.
# Restarts the Nextion display after pressing and holding the left button for 15s
- id: !extend left_button
on_multi_click:
- timing:
- ON for at least 15.0s
invalid_cooldown: ${invalid_cooldown}
then: # Restart the display
- switch.turn_off: screen_power
- delay: 5s
- switch.turn_on: screen_power
- delay: 2s
- lambda: disp1->soft_reset();
# Restarts ESPHome after pressing and holding the right button for 15s
- id: !extend right_button
on_multi_click:
- timing:
- ON for at least 15.0s
invalid_cooldown: ${invalid_cooldown}
then: # Restart the panel
- button.press: restart_nspanel
TFT Version
4.3.11
Firmware Version
4.3.11
Blueprint Version
4.3.11
Panel Model
EU
What is the bug?
I follow instructions in the official wiki: https://github.com/Blackymas/NSPanel_HA_Blueprint/blob/main/docs/customization.md#restart-with-15s-button-press
After adding this part to the yaml, I am getting the following error:
Couldn't find ID 'setup_sequence'. Please check you have defined an ID with that name in your configuration.
and firmware does not compile.
Steps to Reproduce
Follow these instructions: https://github.com/Blackymas/NSPanel_HA_Blueprint/blob/main/docs/customization.md#restart-with-15s-button-press
Your Panel's YAML
(relevant part only)
ESPHome Logs
Home Assistant Logs
No response