1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-11 14:23:47 +01:00

deisolate

This commit is contained in:
J. Nick Koston
2025-10-10 08:15:59 -10:00
parent 066b1dced9
commit ccf52cfe30
3 changed files with 6 additions and 1 deletions

View File

@@ -74,7 +74,6 @@ ISOLATED_COMPONENTS = {
"esphome": "Defines devices/areas in esphome: section that are referenced in other sections - breaks when merged",
"ethernet": "Defines ethernet: which conflicts with wifi: used by most components",
"ethernet_info": "Related to ethernet component which conflicts with wifi",
"http_request": "Defines multiple ota.http_request configurations that create ID conflicts when merged",
"lvgl": "Defines multiple SDL displays on host platform that conflict when merged with other display configs",
"matrix_keypad": "Needs isolation due to keypad",
"mcp4725": "no YAML config to specify i2c bus id",

View File

@@ -51,6 +51,7 @@ script:
ota:
- platform: http_request
id: http_request_ota
on_begin:
then:
- logger.log: "OTA start"
@@ -77,10 +78,12 @@ button:
on_press:
then:
- ota.http_request.flash:
id: http_request_ota
md5_url: http://my.ha.net:8123/local/esphome/firmware.md5
url: http://my.ha.net:8123/local/esphome/firmware.bin
- ota.http_request.flash:
id: http_request_ota
md5: 0123456789abcdef0123456789abcdef
url: http://my.ha.net:8123/local/esphome/firmware.bin
@@ -90,6 +93,7 @@ update:
- platform: http_request
name: OTA Update
id: ota_update
ota_id: http_request_ota
source: http://my.ha.net:8123/local/esphome/manifest.json
on_update_available:
- logger.log: "A new update is available"

View File

@@ -6,8 +6,10 @@ http_request:
ota:
- platform: http_request
id: mqtt_http_request_ota
update:
- platform: http_request
name: "OTA Update"
ota_id: mqtt_http_request_ota
source: https://example.com/ota.json