diff --git a/nspanel_esphome.yaml b/nspanel_esphome.yaml index 7665bf7..bbdbfa5 100644 --- a/nspanel_esphome.yaml +++ b/nspanel_esphome.yaml @@ -703,6 +703,7 @@ switch: entity_category: config restore_state: true optimistic: true + restore_mode: RESTORE_DEFAULT_OFF ##### Confirmation Message ##### - name: ${device_name} Confirmation Message @@ -718,6 +719,7 @@ switch: id: relay_1 pin: number: 22 + restore_mode: RESTORE_DEFAULT_OFF ##### PHYSICAL SWITCH 2 ###### - name: ${device_name} Relay 2 @@ -725,6 +727,7 @@ switch: id: relay_2 pin: number: 19 + restore_mode: RESTORE_DEFAULT_OFF ##### DISPLAY ALWAYS ON ##### - name: ${device_name} Screen Power @@ -746,6 +749,7 @@ switch: restore_state: true assumed_state: false optimistic: true + restore_mode: RESTORE_DEFAULT_OFF on_turn_off: - lambda: id(disp1).send_command_printf("home.sleepmodus.val=0"); - globals.set: @@ -766,6 +770,7 @@ switch: entity_category: config restore_state: true optimistic: true + restore_mode: RESTORE_DEFAULT_OFF - name: ${device_name} Relay 2 Local Fallback platform: template @@ -773,6 +778,7 @@ switch: entity_category: config restore_state: true optimistic: true + restore_mode: RESTORE_DEFAULT_OFF ##### START - NUMBER CONFIGURATION ##### number: