Skip to content

Commit

Permalink
cleanup new ota configuration and move it to the core package
Browse files Browse the repository at this point in the history
  • Loading branch information
heythisisnate committed Jun 18, 2024
1 parent 09f9721 commit b388fec
Show file tree
Hide file tree
Showing 12 changed files with 28 additions and 80 deletions.
7 changes: 0 additions & 7 deletions alarm-panel-esp8266.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
7 changes: 0 additions & 7 deletions alarm-panel-pro-esp32-ethernet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
7 changes: 0 additions & 7 deletions alarm-panel-pro-esp32-local-alarm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
7 changes: 0 additions & 7 deletions alarm-panel-pro-esp32-wifi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
7 changes: 0 additions & 7 deletions alarm-panel-pro-v1.8-ethernet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
11 changes: 0 additions & 11 deletions examples/GDOv2-S-wired-sensor-only.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
7 changes: 0 additions & 7 deletions garage-door-GDOv1-S.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
15 changes: 1 addition & 14 deletions garage-door-GDOv2-Q.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -168,26 +168,13 @@ logger:
sensor: INFO
json: INFO
api: DEBUG
esp-idf: VERBOSE

####
# NATIVE API
# Enables the native ESPHome API
# 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:
Expand Down
11 changes: 1 addition & 10 deletions garage-door-GDOv2-S.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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

Expand Down
10 changes: 9 additions & 1 deletion packages/core-esp32-s3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,12 @@ button:
- platform: restart
name: Restart
id: restart_button
entity_category: config
entity_category: config

####
# OTA UPDATES
# Enables over-the-air updates
# more: https://esphome.io/components/ota.html
ota:
- platform: esphome

10 changes: 9 additions & 1 deletion packages/core-esp32.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,12 @@ button:
entity_category: config
# - platform: factory_reset
# name: Factory Reset
# entity_category: config
# entity_category: config

####
# OTA UPDATES
# Enables over-the-air updates
# more: https://esphome.io/components/ota.html
ota:
- platform: esphome

9 changes: 8 additions & 1 deletion packages/core-esp8266.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,11 @@ sensor:
button:
- platform: restart
name: Restart
entity_category: config
entity_category: config

####
# OTA UPDATES
# Enables over-the-air updates
# more: https://esphome.io/components/ota.html
ota:
- platform: esphome

0 comments on commit b388fec

Please sign in to comment.