@francisp
May I ask the following questions because I am fully new with HA:
is the folder automatically created when I put it into the config.yaml ?
how do I upload a script then to this folder ?
general question: all configurations I make I would like to have in different *.yaml files for better own documentation like e.g. sensors.yaml, scripts.yaml, automation.yaml and so on or what is the recommended way to do ?
Depending on your HA installation. If using HAOS you can use the Samba add-on to access from Windows/Linux/MacOS desktop, or install the file-editor add-on and cut-and-paste in a new file.
You can also create the sensors and switches manually rather than using discovery scripts. Here’s my immersion heater control switch and a couple of sensors:
Yes i saw this already BUT i dont know where i find the correct template for e.g. an Shelly 1pm because by myself i dont know all the things i need to put in the yaml file !
This is exactly the same for me ! Having it in mqtt everything else is possible to do and i am not “stuck” to an individual integration / addon
Look at my example, and compare with the topics you see in MQTT Explorer. You should just need to replace the xxxxxx in mine with your device IDs.
What I’ve posted above can go straight into configuration.yaml (will need a restart) although in reality mine is split up like this as there is more to my MQTT config:
I tried id now with one 1pm and it worked BUT I get an error in HA which says that CoIoT-Config is not working. But I have it activated.
What do I have to do ?
Mhhh, did I misunderstood something ?
I activated python scripts and put in the shelly script from link above and then I found the 3 devices.
I connected one shelly 1pm device and this message appears What did I do wrong ?
Its not so easy to understand it correctly.
I have to understand first that it is a MUST or mandatory to follow the minimum configuration. But okay I will try it