I cannot get the syntax correct for using !extend for the ota component in a remote yaml package. For instance, the M5-stack echo yaml config I use for a voice assistant is located here: firmware/voice-assistant/m5stack-atom-echo.yaml at 00e4f8229afd6d4deb1cca7a6e80975d9adc9ed3 · esphome/firmware · GitHub
In that config this exists
ota:
- platform: esphome
id: ota_esphome
I assume the id is there so that a local yaml config can extend it with an ota password.
From the ESPHome docs it appears the following should work in my local yaml that includes the package above to add an ota password:
ota:
- id: !extend ota_esphome
password: !secret ota_password
No matter the syntax I use for the id in the !extend command, the id is not found.
This occurs with the S3 Box, M5 Stack, Muse Luxe, etc…I assume the id “ota_esphome” was placed in the package configs so that they could be extended, but just having difficulty getting it to work.
Any assistance is appreciated.
Thanks!