From b388fec52d9a5289abde1c6f57332017fc479375 Mon Sep 17 00:00:00 2001 From: Nate Clark Date: Tue, 18 Jun 2024 15:52:38 -0400 Subject: [PATCH] cleanup new ota configuration and move it to the core package --- alarm-panel-esp8266.yaml | 7 ------- alarm-panel-pro-esp32-ethernet.yaml | 7 ------- alarm-panel-pro-esp32-local-alarm.yaml | 7 ------- alarm-panel-pro-esp32-wifi.yaml | 7 ------- alarm-panel-pro-v1.8-ethernet.yaml | 7 ------- examples/GDOv2-S-wired-sensor-only.yaml | 11 ----------- garage-door-GDOv1-S.yaml | 7 ------- garage-door-GDOv2-Q.yaml | 15 +-------------- garage-door-GDOv2-S.yaml | 11 +---------- packages/core-esp32-s3.yaml | 10 +++++++++- packages/core-esp32.yaml | 10 +++++++++- packages/core-esp8266.yaml | 9 ++++++++- 12 files changed, 28 insertions(+), 80 deletions(-) diff --git a/alarm-panel-esp8266.yaml b/alarm-panel-esp8266.yaml index 78e8c86..545e1ea 100644 --- a/alarm-panel-esp8266.yaml +++ b/alarm-panel-esp8266.yaml @@ -134,10 +134,3 @@ logger: # Enables the native API for Home Assistant # more: https://esphome.io/components/api.html api: - -#### -# OTA UPDATES -# Enables over-the-air updates -# more: https://esphome.io/components/ota.html -ota: - - platform: esphome \ No newline at end of file diff --git a/alarm-panel-pro-esp32-ethernet.yaml b/alarm-panel-pro-esp32-ethernet.yaml index d8d63af..c78cf76 100644 --- a/alarm-panel-pro-esp32-ethernet.yaml +++ b/alarm-panel-pro-esp32-ethernet.yaml @@ -152,10 +152,3 @@ logger: # Enables the native API for Home Assistant # more: https://esphome.io/components/api.html api: - -#### -# OTA UPDATES -# Enables over-the-air updates -# more: https://esphome.io/components/ota.html -ota: - - platform: esphome \ No newline at end of file diff --git a/alarm-panel-pro-esp32-local-alarm.yaml b/alarm-panel-pro-esp32-local-alarm.yaml index adf2653..fd03441 100644 --- a/alarm-panel-pro-esp32-local-alarm.yaml +++ b/alarm-panel-pro-esp32-local-alarm.yaml @@ -426,10 +426,3 @@ api: else: - state_machine.transition: failed_code - -#### -# OTA UPDATES -# Enables over-the-air updates -# more: https://esphome.io/components/ota.html -ota: - - platform: esphome \ No newline at end of file diff --git a/alarm-panel-pro-esp32-wifi.yaml b/alarm-panel-pro-esp32-wifi.yaml index 4401920..f2ce685 100644 --- a/alarm-panel-pro-esp32-wifi.yaml +++ b/alarm-panel-pro-esp32-wifi.yaml @@ -148,10 +148,3 @@ logger: # Enables the native API for Home Assistant # more: https://esphome.io/components/api.html api: - -#### -# OTA UPDATES -# Enables over-the-air updates -# more: https://esphome.io/components/ota.html -ota: - - platform: esphome \ No newline at end of file diff --git a/alarm-panel-pro-v1.8-ethernet.yaml b/alarm-panel-pro-v1.8-ethernet.yaml index 636a850..d62f3bc 100644 --- a/alarm-panel-pro-v1.8-ethernet.yaml +++ b/alarm-panel-pro-v1.8-ethernet.yaml @@ -162,10 +162,3 @@ logger: # Enables the native API for Home Assistant # more: https://esphome.io/components/api.html api: - -#### -# OTA UPDATES -# Enables over-the-air updates -# more: https://esphome.io/components/ota.html -ota: - - platform: esphome diff --git a/examples/GDOv2-S-wired-sensor-only.yaml b/examples/GDOv2-S-wired-sensor-only.yaml index a32afcc..dc3110d 100644 --- a/examples/GDOv2-S-wired-sensor-only.yaml +++ b/examples/GDOv2-S-wired-sensor-only.yaml @@ -201,16 +201,5 @@ logger: # more: https://esphome.io/components/api.html api: -#### -# OTA UPDATES -# Enables over-the-air updates -# more: https://esphome.io/components/ota.html -ota: - -improv_serial: - -esp32_improv: - authorizer: false - web_server: include_internal: true \ No newline at end of file diff --git a/garage-door-GDOv1-S.yaml b/garage-door-GDOv1-S.yaml index c1d6efb..3e857a3 100644 --- a/garage-door-GDOv1-S.yaml +++ b/garage-door-GDOv1-S.yaml @@ -196,10 +196,3 @@ logger: # Enables the native API for Home Assistant # more: https://esphome.io/components/api.html api: - -#### -# OTA UPDATES -# Enables over-the-air updates -# more: https://esphome.io/components/ota.html -ota: - - platform: esphome diff --git a/garage-door-GDOv2-Q.yaml b/garage-door-GDOv2-Q.yaml index fe92830..10db91d 100644 --- a/garage-door-GDOv2-Q.yaml +++ b/garage-door-GDOv2-Q.yaml @@ -118,7 +118,7 @@ packages: # WIFI # Enables WiFi connectivity and diagnostics. Uncommet below to enable WiFi. # wifi: !include packages/wifi.yaml - - packages/wifi.yaml + - packages/wifi-esp32.yaml #### # WARNING LED @@ -168,7 +168,6 @@ logger: sensor: INFO json: INFO api: DEBUG - esp-idf: VERBOSE #### # NATIVE API @@ -176,18 +175,6 @@ logger: # more: https://esphome.io/components/api.html api: -#### -# OTA UPDATES -# Enables over-the-air updates -# more: https://esphome.io/components/ota.html -ota: - - platform: esphome - -improv_serial: - -esp32_improv: - authorizer: false - web_server: esphome: diff --git a/garage-door-GDOv2-S.yaml b/garage-door-GDOv2-S.yaml index 22bca24..87e6b06 100644 --- a/garage-door-GDOv2-S.yaml +++ b/garage-door-GDOv2-S.yaml @@ -161,7 +161,7 @@ packages: # WIFI # Enables WiFi connectivity and diagnostics. Uncommet below to enable WiFi. # wifi: !include packages/wifi.yaml - - packages/wifi.yaml + - packages/wifi-esp32.yaml #### # PRE-CLOSE WARNING @@ -208,15 +208,6 @@ logger: # more: https://esphome.io/components/api.html api: -#### -# OTA UPDATES -# Enables over-the-air updates -# more: https://esphome.io/components/ota.html -ota: - - platform: esphome - -improv_serial: - esp32_improv: authorizer: false diff --git a/packages/core-esp32-s3.yaml b/packages/core-esp32-s3.yaml index cada7f9..e8ddd45 100644 --- a/packages/core-esp32-s3.yaml +++ b/packages/core-esp32-s3.yaml @@ -50,4 +50,12 @@ button: - platform: restart name: Restart id: restart_button - entity_category: config \ No newline at end of file + entity_category: config + +#### +# OTA UPDATES +# Enables over-the-air updates +# more: https://esphome.io/components/ota.html +ota: + - platform: esphome + diff --git a/packages/core-esp32.yaml b/packages/core-esp32.yaml index cc935db..7076e10 100644 --- a/packages/core-esp32.yaml +++ b/packages/core-esp32.yaml @@ -47,4 +47,12 @@ button: entity_category: config # - platform: factory_reset # name: Factory Reset - # entity_category: config \ No newline at end of file + # entity_category: config + +#### +# OTA UPDATES +# Enables over-the-air updates +# more: https://esphome.io/components/ota.html +ota: + - platform: esphome + diff --git a/packages/core-esp8266.yaml b/packages/core-esp8266.yaml index 4cb0301..5c384cc 100644 --- a/packages/core-esp8266.yaml +++ b/packages/core-esp8266.yaml @@ -42,4 +42,11 @@ sensor: button: - platform: restart name: Restart - entity_category: config \ No newline at end of file + entity_category: config + +#### +# OTA UPDATES +# Enables over-the-air updates +# more: https://esphome.io/components/ota.html +ota: + - platform: esphome