I would like to develop an add on that has rather simple functionality.
It will take the name of a /dev/ttyUSB port from the configuration GUI as input.
Using this port name it will create about 20 custom template sensors in the configuration.yaml
Although I don’t think an add on can modify the configuration.yaml file. So is there a way that the add on could write an include file with the template sensors and then the user would just need to reference that include file in the configuration.yaml?
How do I go about doing this?
Many many years ago I wrote a lot of code and shell scripts. Was also a Unix Sys Admin
I have read the add on doco but it is very light on. Or maybe there is better doco somewhere else?
Thanks in advance