#1
I still wonder how I can edit such a helper cause I was not able to get to the folder and file
I have a file editor in left pane but how do I edit such a file or how do I get there from the /homeassistant folder where the config.yaml file is located ?
How can I open such a dialog to navigate to /config/.storage or type that in ? Currently I can only open the files by clicking.
#2
Why am I not able to edit a helper fully with the UI ?
The riemann sum integral for example uses a source sensor I have to edit cause I had made a typo, but I can not. Why ?
Why canât I edit all the options I was able to use while I was creating the helper ?
This is a general mess if I can not change things I could create first in full detail and then hit a wall cause the source sensor is hidden in my UI at least.
The only way around at the end is to delete and create a new which can end in a spiral.
Riemann sum is an integration that shows up in the helper menu, itâs not a helper in a traditional sense. Itâs configuration will be in config_entries file.
Because the volunteer who wrote the integration didnât add it as an editable option.
Unfortunately, this is our only option at the moment outside editing the storage files.
I recommend that you delete and add it the current way. Editing the files is very risky and if you have to ask how to get to the file, you probably shouldnât be editing it. Itâs a fragile file with a fragile structure and if you mess up the file, you will break the entire system.
I had done that before when I was not in the HA world and had run it on raspbian docker 2 years ago or so. But now I can not use my editor I had been using before which was connected via SSH or so.
Fragile might be true but at the end I have 2 backups of each day in the cloud and could restore the system easily.
Sorry, meanwhile i had found out that I could use the terminal and went into the directory but I could not even find such files mentioned above. No helper file.
core.config_entries is about
sun integration
tuya integration and
radio browser but nothing about my helpers
Sorry, it was my fault.
I had opened the file and tried to scroll down with the touchpad but it did not move. Therefore I had assumed to be at the end of the file and nothing more to be find.
but here scrolling down with the cursor or rather searching backwards with ctrl + q I found my helper integral
and was able to edit it (carefully).
thanks, that had solved my problems and will maybe solve those of others at the same topic.
It is also important to know cause the helper only asks once about left or righ edge integration while in this file editor you can change easily afterwards. For a Riemann sum integral a lot of parameters have to be adjusted and I hated it in the past cause I had to delete the helper first and better relaunch ha after that to rebuild a new helper with all the parameters.
therefore editing here is much easier and in case something goes wrong I still have my 2 backups in the google cloud and on the NAS.
Hi, I am working my own app based on a docker container HA Core. How can you tell that an object/record is a helper in core.config_entries file? I mean to have a process that willi search and get a list of helpers for example
Hi! Is it possible to have a script to write helpers and include it in configuration.yaml just like we do with automations âautomation: !include automations.yamlâ?
Thank you for your reply. I wrote script when I meant just a yaml file. Sorry, my bad
I want to create/edit helpers from my own editor in my app. Does this require a restart of HA or reload for example helpers.yaml assuming there is helper: !include helpers.yaml line in configuration.yaml?
Helper is not an integration, so you cannot have those in your yaml using helper: !include âŚ
A helper is a way to define certain types of entities using the UI (and therefore not yaml). The same entities can be created in yaml, often with more options than the GUI will allow. But depending on the type of entity, in the place in the configuration is at the corresponding integration for that type.
Editing GUI built helpers by modifying hidden files is unsupported and at your own risk. Donât expect us to be able to bail you out if Home Assistant wonât start. So the advice is: if you need features not a available in the GUI, then delete the helper in the GUI. Then create the specific entity in yaml in the configuration at place it belongs, for instance under sensors.
How to create entities using yaml is always described in the documentation, also for the entities you find in the helpers section. Yaml based entities need to be reloaded, either using the developer tools or restarting HA.
No problem; there is a set of concepts/terminology in HA that one learns with time and practice; it can be confusing at first
Honestly, I never know. Some changes require just âDeveloper Tools â YAML â Restart â Quick Reloadâ. Other changes require whole HA restart. I never know which Most of the time I just restart the whole HA, just to be sure. I wish it was better documentedâŚ
I disagree. When you create your âentity definitionsâ in YAML â they do appear on the Helpers page in the WebUI. Therefore I conclude, those are Helpers, even if created via YAML.
Now you got me intrigued. Do they really? And if so, which ones? I moved my threshold sensors, before they werenât there. Also various other types I have, in yaml, like template sensors, arenât there. How could they? The GUI does not edit the yaml, so you cannot edit any parameters in the GUI for the entities you created in yaml.
All of them.Not all of them, see below_. They just arenât managed by WebUI â you cannot edit/remove them via WebUI, you have to modify them just as you defined them, via YAML.
You may be right about input helpers, timers I donât know because I never made yaml ones. My groups are old style groups, so they probably donât count. But other examples I gave, like template sensors, and some other like integral, utility meter, definitely donât see my yaml ones in the list. Only the ones I created in the GUI. Especially the recently added helpers. So it is definitely not all of them. A lot of other types I cannot tell, because I made all of them in the GUI and did not create yaml ones.
but to be honest: the whole âHelpersâ name is just a âI donât know how to name it betterâ kind of a name for me anything could be there, nothing could be there. itâs a term like âitemsâ or âtoolsâ, etc. As a programmer, Iâm always trying to avoid such names, I consider them as âyou have probably not thought enoughâ for this name, or âthe whole concept needs rethinkingâ kind of name
Ah, Iâve checked now, youâre right: template sensors (defined in YAML) donât appear on the Helpers page (while they do when created via WebUI).
Thatâs just sloppiness and disregard towards YAML â IMHO â judging from the community responses about YAML in general
My post above was in response to the misconception that helpers (a name for a list of useful things, as you say) are in the config as a helper integration (a âhelpers:â section) or that the GUI created ones appeared in yaml. Both are not the case.
Funny though, you have many non editable helper entities and figured they were all in the GUI, I have zero non-editable ones and figured none of the yaml ones were listed.
I would have been so happy if the helpers had been hybrid, like automations, scripts and scenes. Then you could pick either way of editing depending on the situation. And you could have your GUI editing history in github, like I now have for automations and scripts.