replace all placeholders of ${SOMEVAR} in yaml configuration with ENV var#19687
replace all placeholders of ${SOMEVAR} in yaml configuration with ENV var#19687dm82m wants to merge 1 commit intoevcc-io:masterfrom
Conversation
|
We don‘t plan to merge this. Yaml is on its way to retirement. |
|
@naltatis do you see any chance to provide this possibility also in ui config? providing a syntax for env vars so that they get replaced by corresponding env vars during runtime? |
|
@dm82m now sure how this is supposed to work. I don't see, that we add env interpolation support to each field in config ui. There are still places where we do yaml today (tariffs, ...) but we'll also migrate these to proper guided forms. I guess we need another solution. |
|
Within the evcc home assistant addon we can use a proxy to access home assistant api. With this we can get data from home assistant into evcc. I.e. car soc, car range etc. As andi declined my yaml modification, which I can understand, the only way would be to add it in Ui config, but I am not skilled enough to find a proper way there. |
|
I think this is somewhat "poweruser" space, so maybe we could do without interpolation inside the UI. |
|
Fine for me, but I have technically no idea how that could be solved 😂 |
first draft