From c3f10b30078e89aeb8dfe03e6060129e66ae4026 Mon Sep 17 00:00:00 2001 From: Benjamin Bennett Date: Wed, 22 Jul 2026 22:35:48 -0400 Subject: [PATCH] Add ids to OTA platform entries in all device configs Add explicit id fields to OTA platform entries across all device YAML files so they can be referenced and overridden in device-specific configs, e.g. to set an OTA password on the esphome platform. --- athom-1gang-switch.yaml | 2 ++ athom-2ch-relay-board.yaml | 2 ++ athom-2gang-switch.yaml | 2 ++ athom-3gang-switch.yaml | 2 ++ athom-4ch-relay-board.yaml | 2 ++ athom-4gang-switch.yaml | 2 ++ athom-8ch-relay-board.yaml | 2 ++ athom-dual-smart-plug-v3.yaml | 2 ++ athom-energy-monitor-x2.yaml | 2 ++ athom-energy-monitor-x6.yaml | 2 ++ athom-garage-door.yaml | 2 ++ athom-ld2450-sensor.yaml | 2 ++ athom-mini-relay-v2.yaml | 2 ++ athom-presence-sensor-v3.yaml | 2 ++ athom-rf-ir-remote.yaml | 2 ++ athom-rgbcw-bulb.yaml | 2 ++ athom-rgbcw-light.yaml | 2 ++ athom-scd40-sensor.yaml | 2 ++ athom-sht40-sensor.yaml | 2 ++ athom-smart-plug-v5.yaml | 1 + athom-smart-plug.yaml | 2 ++ athom-wall-outlet-v3.yaml | 2 ++ athom-zigbee-gateway.yaml | 2 ++ 23 files changed, 45 insertions(+) diff --git a/athom-1gang-switch.yaml b/athom-1gang-switch.yaml index a590e81..4ffd5b5 100644 --- a/athom-1gang-switch.yaml +++ b/athom-1gang-switch.yaml @@ -105,8 +105,10 @@ api: ota: - platform: esphome + id: ota_esphome # Enables OTA firmware flashing from a URL (used by the update component below) - platform: http_request + id: ota_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 diff --git a/athom-2ch-relay-board.yaml b/athom-2ch-relay-board.yaml index 5815121..bf6f951 100644 --- a/athom-2ch-relay-board.yaml +++ b/athom-2ch-relay-board.yaml @@ -81,8 +81,10 @@ api: ota: - platform: esphome + id: ota_esphome # Enables OTA firmware flashing from a URL (used by the update component below) - platform: http_request + id: ota_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 diff --git a/athom-2gang-switch.yaml b/athom-2gang-switch.yaml index eea70c7..67669d8 100644 --- a/athom-2gang-switch.yaml +++ b/athom-2gang-switch.yaml @@ -108,8 +108,10 @@ api: ota: - platform: esphome + id: ota_esphome # Enables OTA firmware flashing from a URL (used by the update component below) - platform: http_request + id: ota_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 diff --git a/athom-3gang-switch.yaml b/athom-3gang-switch.yaml index 5a0b263..f45e560 100644 --- a/athom-3gang-switch.yaml +++ b/athom-3gang-switch.yaml @@ -111,8 +111,10 @@ api: ota: - platform: esphome + id: ota_esphome # Enables OTA firmware flashing from a URL (used by the update component below) - platform: http_request + id: ota_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 diff --git a/athom-4ch-relay-board.yaml b/athom-4ch-relay-board.yaml index 1c07ac2..aa4f696 100644 --- a/athom-4ch-relay-board.yaml +++ b/athom-4ch-relay-board.yaml @@ -83,8 +83,10 @@ api: ota: - platform: esphome + id: ota_esphome # Enables OTA firmware flashing from a URL (used by the update component below) - platform: http_request + id: ota_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 diff --git a/athom-4gang-switch.yaml b/athom-4gang-switch.yaml index fb0d022..fbb67d3 100644 --- a/athom-4gang-switch.yaml +++ b/athom-4gang-switch.yaml @@ -114,8 +114,10 @@ api: ota: - platform: esphome + id: ota_esphome # Enables OTA firmware flashing from a URL (used by the update component below) - platform: http_request + id: ota_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 diff --git a/athom-8ch-relay-board.yaml b/athom-8ch-relay-board.yaml index 88c41f6..62ed9b5 100644 --- a/athom-8ch-relay-board.yaml +++ b/athom-8ch-relay-board.yaml @@ -87,8 +87,10 @@ api: ota: - platform: esphome + id: ota_esphome # Enables OTA firmware flashing from a URL (used by the update component below) - platform: http_request + id: ota_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 diff --git a/athom-dual-smart-plug-v3.yaml b/athom-dual-smart-plug-v3.yaml index 3839815..85e782a 100644 --- a/athom-dual-smart-plug-v3.yaml +++ b/athom-dual-smart-plug-v3.yaml @@ -118,8 +118,10 @@ api: ota: - platform: esphome + id: ota_esphome # Enables OTA firmware flashing from a URL (used by the update component below) - platform: http_request + id: ota_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 diff --git a/athom-energy-monitor-x2.yaml b/athom-energy-monitor-x2.yaml index a520075..b32b568 100644 --- a/athom-energy-monitor-x2.yaml +++ b/athom-energy-monitor-x2.yaml @@ -85,8 +85,10 @@ api: ota: - platform: esphome + id: ota_esphome # Enables OTA firmware flashing from a URL (used by the update component below) - platform: http_request + id: ota_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 diff --git a/athom-energy-monitor-x6.yaml b/athom-energy-monitor-x6.yaml index f02a6b8..3e4e68d 100644 --- a/athom-energy-monitor-x6.yaml +++ b/athom-energy-monitor-x6.yaml @@ -105,8 +105,10 @@ api: ota: - platform: esphome + id: ota_esphome # Enables OTA firmware flashing from a URL (used by the update component below) - platform: http_request + id: ota_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 diff --git a/athom-garage-door.yaml b/athom-garage-door.yaml index 87a53ed..ca1a508 100644 --- a/athom-garage-door.yaml +++ b/athom-garage-door.yaml @@ -80,8 +80,10 @@ api: ota: - platform: esphome + id: ota_esphome # Enables OTA firmware flashing from a URL (used by the update component below) - platform: http_request + id: ota_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 diff --git a/athom-ld2450-sensor.yaml b/athom-ld2450-sensor.yaml index 1273aa8..3bbe9db 100644 --- a/athom-ld2450-sensor.yaml +++ b/athom-ld2450-sensor.yaml @@ -66,8 +66,10 @@ web_server: ota: - platform: esphome + id: ota_esphome # Enables OTA firmware flashing from a URL (used by the update component below) - platform: http_request + id: ota_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 diff --git a/athom-mini-relay-v2.yaml b/athom-mini-relay-v2.yaml index 9aff57b..7a5c3dd 100644 --- a/athom-mini-relay-v2.yaml +++ b/athom-mini-relay-v2.yaml @@ -88,8 +88,10 @@ api: ota: - platform: esphome + id: ota_esphome # Enables OTA firmware flashing from a URL (used by the update component below) - platform: http_request + id: ota_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 diff --git a/athom-presence-sensor-v3.yaml b/athom-presence-sensor-v3.yaml index acad062..a81daa0 100644 --- a/athom-presence-sensor-v3.yaml +++ b/athom-presence-sensor-v3.yaml @@ -83,8 +83,10 @@ api: ota: - platform: esphome + id: ota_esphome # Enables OTA firmware flashing from a URL (used by the update component below) - platform: http_request + id: ota_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 diff --git a/athom-rf-ir-remote.yaml b/athom-rf-ir-remote.yaml index 782924a..cef2d77 100644 --- a/athom-rf-ir-remote.yaml +++ b/athom-rf-ir-remote.yaml @@ -127,8 +127,10 @@ api: ota: - platform: esphome + id: ota_esphome # Enables OTA firmware flashing from a URL (used by the update component below) - platform: http_request + id: ota_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 diff --git a/athom-rgbcw-bulb.yaml b/athom-rgbcw-bulb.yaml index 5f2461e..e15101c 100644 --- a/athom-rgbcw-bulb.yaml +++ b/athom-rgbcw-bulb.yaml @@ -204,8 +204,10 @@ api: ota: - platform: esphome + id: ota_esphome # Enables OTA firmware flashing from a URL (used by the update component below) - platform: http_request + id: ota_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 diff --git a/athom-rgbcw-light.yaml b/athom-rgbcw-light.yaml index 069e140..33c16d0 100644 --- a/athom-rgbcw-light.yaml +++ b/athom-rgbcw-light.yaml @@ -204,8 +204,10 @@ api: ota: - platform: esphome + id: ota_esphome # Enables OTA firmware flashing from a URL (used by the update component below) - platform: http_request + id: ota_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 diff --git a/athom-scd40-sensor.yaml b/athom-scd40-sensor.yaml index 7db1062..900f7d9 100644 --- a/athom-scd40-sensor.yaml +++ b/athom-scd40-sensor.yaml @@ -88,8 +88,10 @@ api: ota: - platform: esphome + id: ota_esphome # Enables OTA firmware flashing from a URL (used by the update component below) - platform: http_request + id: ota_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 diff --git a/athom-sht40-sensor.yaml b/athom-sht40-sensor.yaml index 38637cf..402e5bc 100644 --- a/athom-sht40-sensor.yaml +++ b/athom-sht40-sensor.yaml @@ -93,8 +93,10 @@ api: ota: - platform: esphome + id: ota_esphome # Enables OTA firmware flashing from a URL (used by the update component below) - platform: http_request + id: ota_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 diff --git a/athom-smart-plug-v5.yaml b/athom-smart-plug-v5.yaml index 11ca4e0..b1b7656 100644 --- a/athom-smart-plug-v5.yaml +++ b/athom-smart-plug-v5.yaml @@ -112,6 +112,7 @@ api: ota: - platform: esphome + id: ota_esphome logger: baud_rate: 0 # 0 Enables logging, but disables serial-port logging to free CPU and memory diff --git a/athom-smart-plug.yaml b/athom-smart-plug.yaml index 69f8205..7b2a012 100644 --- a/athom-smart-plug.yaml +++ b/athom-smart-plug.yaml @@ -115,8 +115,10 @@ api: ota: - platform: esphome + id: ota_esphome # Enables OTA firmware flashing from a URL (used by the update component below) - platform: http_request + id: ota_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 diff --git a/athom-wall-outlet-v3.yaml b/athom-wall-outlet-v3.yaml index cc1fd7e..5527a4d 100644 --- a/athom-wall-outlet-v3.yaml +++ b/athom-wall-outlet-v3.yaml @@ -114,8 +114,10 @@ api: ota: - platform: esphome + id: ota_esphome # Enables OTA firmware flashing from a URL (used by the update component below) - platform: http_request + id: ota_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 diff --git a/athom-zigbee-gateway.yaml b/athom-zigbee-gateway.yaml index b2bc49f..6c2a923 100644 --- a/athom-zigbee-gateway.yaml +++ b/athom-zigbee-gateway.yaml @@ -105,8 +105,10 @@ logger: ota: - platform: esphome + id: ota_esphome # Enables OTA firmware flashing from a URL (used by the update component below) - platform: http_request + id: ota_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