Fix firmware size issue

This commit is contained in:
Aiden
2026-07-17 17:30:12 +08:00
parent 251bf9113a
commit 1e158ae7e4
+1 -18
View File
@@ -10,7 +10,7 @@ substitutions:
# Project Name
project_name: "China Athom Technology.Athom Plug V5"
# Projection version denotes the release version of the yaml file, allowing checking of deployed vs latest version
project_version: "v5.0.2"
project_version: "v5.0.3"
# Restore the relay (GPO switch) upon reboot to state:
relay_restore_mode: RESTORE_DEFAULT_ON
# Set the update interval for sensors
@@ -112,23 +112,6 @@ api:
ota:
- platform: esphome
# Enables OTA firmware flashing from a URL (used by the update component below)
- platform: http_request
# Required by the ota http_request platform and the update component.
# verify_ssl: false skips TLS cert validation to reduce heap/RAM pressure during
# the download; the manifest's MD5 still verifies firmware integrity before flashing.
http_request:
verify_ssl: false
update:
# Managed updates via HTTP request: periodically checks the published manifest
# and exposes a "Firmware Update" entity, pointing at this device's GitHub Pages
# manifest. Pages URLs avoid the redirect/buffer issues of Release download URLs.
- platform: http_request
name: "Firmware Update"
source: https://athom-tech.github.io/esp32-configs/firmware/athom-smart-plug-v5.manifest.json
# update_interval defaults to 6h (how often it checks, not installs)
logger:
baud_rate: 0 # 0 Enables logging, but disables serial-port logging to free CPU and memory