Fix API errors

This commit is contained in:
Aiden
2026-07-16 11:43:42 +08:00
parent 25dae864eb
commit 8032a3841d
+2 -5
View File
@@ -10,7 +10,7 @@ substitutions:
# Project Name
project_name: "China Athom Technology.Athom Zigbee Gateway"
# Projection version denotes the release version of the yaml file, allowing checking of deployed vs latest version
project_version: "v2.0.7"
project_version: "v2.0.8"
# Define a domain for this device to use. i.e. iot.home.lan (so device will appear as athom-smart-plug-v2.iot.home.lan in DNS/DHCP logs)
dns_domain: ".local"
# Set timezone of the smart plug. Useful if the plug is in a location different to the HA server. Can be entered in unix Country/Area format (i.e. "Australia/Sydney")
@@ -48,6 +48,7 @@ esp32:
# Enable Home Assistant API
api:
reboot_timeout: 0s
on_client_connected:
- esp32_ble_tracker.start_scan:
continuous: true
@@ -101,10 +102,6 @@ logger:
baud_rate: 115200
level: ${log_level}
# Enable Home Assistant API
api:
reboot_timeout: 0s
ota:
- platform: esphome
# Enables OTA firmware flashing from a URL (used by the update component below)