Remove restart with 15sec press
The benefit was small compared to the restriction caused. Still available as a customization or with the reset button. Helps with #1711
This commit is contained in:
@@ -1582,17 +1582,6 @@ binary_sensor:
|
||||
page: !lambda return current_page->state.c_str();
|
||||
component: "hw_bt_left"
|
||||
command: "short_click"
|
||||
- timing: &hold_to_restart-timing
|
||||
- ON for at least 15.0s
|
||||
invalid_cooldown: ${invalid_cooldown}
|
||||
then:
|
||||
- switch.turn_off: screen_power
|
||||
- delay: 5s
|
||||
- switch.turn_on: screen_power
|
||||
- delay: 2s
|
||||
- lambda: disp1->soft_reset();
|
||||
- delay: 2s
|
||||
- script.execute: setup_sequence
|
||||
|
||||
##### RIGHT BUTTON BELOW DISPLAY TO TOGGLE RELAY #####
|
||||
- name: Right Button
|
||||
@@ -1633,10 +1622,6 @@ binary_sensor:
|
||||
page: !lambda return current_page->state.c_str();
|
||||
component: "hw_bt_right"
|
||||
command: "short_click"
|
||||
- timing: *hold_to_restart-timing
|
||||
invalid_cooldown: ${invalid_cooldown}
|
||||
then: # Restart the panel
|
||||
- button.press: restart_nspanel
|
||||
|
||||
##### Restart NSPanel Button - Setting Page #####
|
||||
- name: Restart
|
||||
|
||||
Reference in New Issue
Block a user