I would like to implement add/edit/delete YAML file remotely.
I noted that SambaShare add ons could add/edit/delete YAML file folder in local network using local IP.
But you can’t access this folder outside the network.
My aim is to remotely access read this YAML file (Example: light.yaml), then delete the all content of this file, and re-writes all contents in the format I want. But this need to achieve via coding way.
If you are using HassIO then there are two different add ons that can do this. Configurator gives you basically a web page add on. And there is Visual Studio Code which is what it is called.
I knew that HassIO can support both Configurator and Visual Studio Code, but I wanna a solution that could bypass login credential can edit this YAML file if possible.
You would still need some method of telling Hass to restart and read the changed configuration. I am having trouble seeing the usefulness in what you wish other than just saying you can do it.
So I am curious, if your end users/family members don’t have programming knowledge what are they changing?
In theory you only need to set up the yaml file once and never need to change it.
Why? At least entity IDs should always remain the same. Otherwise automations that reference them would break. And could you give an example where it makes sense to rename the friendly name only? As long as a device serves the same purpose (e.g. kitchen light), why should it be renamed?
Search around the forum. People have come up with entities (UI elements) where you can set durations for timers.
My general thought on this: only people who really know what they are doing should get access to the configuration. You’d be pretty upset if someone changes an automation you rely on without you knowing about it.