Well ok, the script is for installing home assistant and not Garden irrigation.
Now, what you see in the first screenshot is the auto generated dashboard by home assistant. you can throw that away and start creating your own when you will integrate your other devices
I suggest you to install studio code server from home assistant addons menu, it’s an advanced file editor for programmers (to simplify the explanation).
Now follow these steps
In your configuration.yaml you should have at least these voices, copy them inside your configuration.yaml
Lovelace_gen and lovelace are at the same level of indentation of homeassistant. In yaml the indentation matters (in italiano devono avere la stessa indentazione perchè yaml è un linguaggio la cui sintassi differenzia anche l’indentazione).
Now you have to create a folder named lovelace in the same folder of configuration.yaml
inside lovelace folder create a file named irrigazione.yaml
HI,
Being a bit busy at work I’m replying late, thanking you again for the various suggestions I have finally achieved the goal you see in the picture below, I still have to fix the graphics_card but the graphics are now those of the project. If I don’t bother you, I would like to ask you for further information. I have seen that in various .yaml files of the project there are many errors related to the !include function. Below are some images that perhaps clarify better. Can you tell me a solution to this problem? I don’t want to see that now I have the graphics but the functionality is missing… Thank you again and to answer the question you asked me and I missed it, I intend to use a Sophos in MQTT.
You have to move your first garden_irrigation folder, which has inside irrigation_cancel.yaml inside packages folder
Then use studio code server to edit files, this package has a lot of recursive inlude function, so the indentation could be wrong at first sight, but correct for the include.
If you don’t see errors in your screen then it’s all fine.
HI ,
Unfortunately, if I move the folder as you tell me, I go back to seeing nothing on the screen. I attach the situation to today, I have reinstalled mini-graph-card and the graph is now ok. I have installed and configured the Broken MQTT Mosquitto and related Tasmota for Sonof and testing with Mqtt explorer it works but from the project I cannot control the valves I think it’s still the problem linked to all those files that show the red circle and give me errors in particular on the !include function which I can’t understand. I will have to waste some more time to find the solution unless anyone has further suggestions.
Thanks again to you and anyone with suggestions
Can you post what you added in your configuration.yaml?
When you define your mqtt entities in home assistant, you have to copy the name of the switch that control one of the valve, and paste it inside the valve configuration.
When you define how many valves you have, you will find them here
Click on the first, in my case “Valvola 1 R1” then on “Settings” (the wheel, the second icon from right)
and you will land here
On the “Entity ID” field, you can rename the switch, that is the ID used in the code (configuration.yaml) and you can edit the “Name” field which is what you see in the interface.
So set the Name field to Zona 1, entity id to switch.zona1 and click update.
Go back to your configuration.yaml, where you have the mqtt section.
type in these:
This should be the correct syntax according to this mqtt switch but not having that, i cannot test it
If you modify your configuration.yaml you have to reload it or restart home assistant.
Then go back to irrigation and insert switch.zone1 in your first valve.
Try first if it works from device page, if it starts, ok, go to irrigation and test it.
HI,
Given your willingness to always answer me promptly, I’ll update you. Finally the irrigation works I had to argue about it a bit but at least now the valves are activated and the page is complete even if I can’t explain why I always see errors in the irrigation yaml files both from the file editor and from Studio Code. Now I have to put the historicization of the events of the 2 files in the snapshot folder has been finalised, even if it is not important.
Very Very good, i’m glad it works.
I had to struggle with it too, when i installed it, but i can say you it is a great software!
The errors you see is given by the syntax change in HA, for now that are only warnings because that syntax is deprecated, but pherhaps in the future it will be unsupported, and if the mantainer will not update the package, it will be a big problem!
I’m still here and I still use the package every year with no intention to stop. I will definitely keep it up to date with any breaking changes in HA in the foreseeable future but I will admit that my motivation for making any significant changes is diminishing because it currently works so perfectly for me.
When l get around to updating my config to the new syntax I will obviously include this but there seems to be little urgency for that because I am pretty sure I have read that the ‘old’ syntax will not ever become unsupported.