Performance improvement - Home page values triggering
Solves #1977 Hopefully solves #2001
This commit is contained in:
@@ -12,6 +12,7 @@ substitutions:
|
||||
## Change only in your ##
|
||||
## local yaml substitutions ##
|
||||
ap_password: ${wifi_password}
|
||||
web_password: ${wifi_password}
|
||||
##############################
|
||||
|
||||
button:
|
||||
@@ -95,6 +96,13 @@ time:
|
||||
- component.update: api_timestamp
|
||||
- component.update: device_timestamp
|
||||
|
||||
web_server:
|
||||
id: web_server_std
|
||||
port: 80
|
||||
auth:
|
||||
username: admin
|
||||
password: ${web_password}
|
||||
|
||||
wifi:
|
||||
ap:
|
||||
ssid: "${name}"
|
||||
|
||||
@@ -13,7 +13,6 @@ substitutions:
|
||||
name: ${device_name}
|
||||
friendly_name: ${device_name}
|
||||
ota_password: ${wifi_password}
|
||||
web_password: ${wifi_password}
|
||||
temp_units: "°C"
|
||||
invalid_cooldown: "100ms"
|
||||
##### DON'T CHANGE THIS ######
|
||||
@@ -168,13 +167,7 @@ time:
|
||||
- logger.log: "System clock synchronized"
|
||||
- script.execute: refresh_datetime
|
||||
|
||||
##### Web server #####
|
||||
web_server:
|
||||
id: web_server_std
|
||||
port: 80
|
||||
auth:
|
||||
username: admin
|
||||
password: ${web_password}
|
||||
json: # Can be replaced by web_server
|
||||
|
||||
##### START - API CONFIGURATION #####
|
||||
api:
|
||||
|
||||
Reference in New Issue
Block a user