Memory optimization & external components
Helps with #1686 - This is deprecating Relay local fallback switches (replaced by globals) to save memory. - Using reboot timeout from ESPHome instead of custom engine - Do not change page is already there. - Use of external components to streamline some repetitive code - API always transfer colors in RGB array to keep consistency
This commit is contained in:
@@ -7,6 +7,13 @@
|
||||
##### ATTENTION: This will add advanced elements to the core system and requires the core part. #####
|
||||
#####################################################################################################
|
||||
---
|
||||
substitutions:
|
||||
##############################
|
||||
## Change only in your ##
|
||||
## local yaml substitutions ##
|
||||
web_password: ${wifi_password}
|
||||
##############################
|
||||
|
||||
button:
|
||||
- name: Exit reparse
|
||||
platform: template
|
||||
@@ -19,6 +26,8 @@ button:
|
||||
- logger.log: "Button pressed: Exit reparse"
|
||||
- script.execute: exit_reparse
|
||||
|
||||
captive_portal:
|
||||
|
||||
script:
|
||||
- id: exit_reparse
|
||||
mode: restart
|
||||
@@ -85,4 +94,12 @@ time:
|
||||
then:
|
||||
- component.update: api_timestamp
|
||||
- component.update: device_timestamp
|
||||
|
||||
##### Web server #####
|
||||
web_server:
|
||||
id: web_server_std
|
||||
port: 80
|
||||
auth:
|
||||
username: admin
|
||||
password: ${web_password}
|
||||
...
|
||||
|
||||
Reference in New Issue
Block a user