#Hello a few weeks ago I started
1 messages · Page 1 of 1 (latest)
I'd suggest you don't edit configuration.yaml or automations.yaml, but instead use another file, eg
automation magic: !include my_automations.yaml
https://developers.home-assistant.io/docs/add-ons covers add-on development
Keep in mind you'll also need to trigger a reload of the automations, and if you generate invalid YAML you'll break things 😉
#devs_add-ons-archived can guide with add-on development... probably
yhea u right thanks alot i will try to get user input and make an automation with the input and then write it to a file. But u know how i can manage to write the line code in the user his configuration.yaml file
oh yes indeed need to keep that in mind to