mirror of
https://github.com/esphome/esphome.git
synced 2025-10-12 06:43:48 +01:00
deisolate
This commit is contained in:
@@ -74,7 +74,6 @@ ISOLATED_COMPONENTS = {
|
|||||||
"esphome": "Defines devices/areas in esphome: section that are referenced in other sections - breaks when merged",
|
"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": "Defines ethernet: which conflicts with wifi: used by most components",
|
||||||
"ethernet_info": "Related to ethernet component which conflicts with wifi",
|
"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",
|
"lvgl": "Defines multiple SDL displays on host platform that conflict when merged with other display configs",
|
||||||
"matrix_keypad": "Needs isolation due to keypad",
|
"matrix_keypad": "Needs isolation due to keypad",
|
||||||
"mcp4725": "no YAML config to specify i2c bus id",
|
"mcp4725": "no YAML config to specify i2c bus id",
|
||||||
|
@@ -51,6 +51,7 @@ script:
|
|||||||
|
|
||||||
ota:
|
ota:
|
||||||
- platform: http_request
|
- platform: http_request
|
||||||
|
id: http_request_ota
|
||||||
on_begin:
|
on_begin:
|
||||||
then:
|
then:
|
||||||
- logger.log: "OTA start"
|
- logger.log: "OTA start"
|
||||||
@@ -77,10 +78,12 @@ button:
|
|||||||
on_press:
|
on_press:
|
||||||
then:
|
then:
|
||||||
- ota.http_request.flash:
|
- ota.http_request.flash:
|
||||||
|
id: http_request_ota
|
||||||
md5_url: http://my.ha.net:8123/local/esphome/firmware.md5
|
md5_url: http://my.ha.net:8123/local/esphome/firmware.md5
|
||||||
url: http://my.ha.net:8123/local/esphome/firmware.bin
|
url: http://my.ha.net:8123/local/esphome/firmware.bin
|
||||||
|
|
||||||
- ota.http_request.flash:
|
- ota.http_request.flash:
|
||||||
|
id: http_request_ota
|
||||||
md5: 0123456789abcdef0123456789abcdef
|
md5: 0123456789abcdef0123456789abcdef
|
||||||
url: http://my.ha.net:8123/local/esphome/firmware.bin
|
url: http://my.ha.net:8123/local/esphome/firmware.bin
|
||||||
|
|
||||||
@@ -90,6 +93,7 @@ update:
|
|||||||
- platform: http_request
|
- platform: http_request
|
||||||
name: OTA Update
|
name: OTA Update
|
||||||
id: ota_update
|
id: ota_update
|
||||||
|
ota_id: http_request_ota
|
||||||
source: http://my.ha.net:8123/local/esphome/manifest.json
|
source: http://my.ha.net:8123/local/esphome/manifest.json
|
||||||
on_update_available:
|
on_update_available:
|
||||||
- logger.log: "A new update is available"
|
- logger.log: "A new update is available"
|
||||||
|
@@ -6,8 +6,10 @@ http_request:
|
|||||||
|
|
||||||
ota:
|
ota:
|
||||||
- platform: http_request
|
- platform: http_request
|
||||||
|
id: mqtt_http_request_ota
|
||||||
|
|
||||||
update:
|
update:
|
||||||
- platform: http_request
|
- platform: http_request
|
||||||
name: "OTA Update"
|
name: "OTA Update"
|
||||||
|
ota_id: mqtt_http_request_ota
|
||||||
source: https://example.com/ota.json
|
source: https://example.com/ota.json
|
||||||
|
Reference in New Issue
Block a user