Helpers via UI - allow users to see and possibly edit(?) yaml that is created in the helpers at least in the configuration view of the created sensor #24799
Replies: 3 comments
-
I concur. |
Beta Was this translation helpful? Give feedback.
-
wanted to add a +1 to this, even the ability to easily share helpers as yml text would be useful, as it'd save having to take screenshots to share setups |
Beta Was this translation helpful? Give feedback.
-
+100 !! Most other areas of HA configuration (notably automations) allow the user to edit either in the GUI or in YAML. There is of course a limitation that if you do something complex in YAML that goes beyond the options available in the GUI, then you'll have to continue to manage it in YAML - but even that is handled nicely for automations, with the GUI showing the raw YAML (and crucially, allowing it to be edited). Helpers are currently the glaring inconsistency and the odd one out - you can create them either in the GUI or YAML, but you can't switch between those methods. And there's the significant problem that configuring anything in configuration.yaml requires a HA restart each time. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Instead of apparently having to go into core.config_entities to see the code in a single line, please make this visible and able to copy from the helper UI / option screen once configured (pretty print?) - I think this would help users to be able to quickly create their own entities / helpers and integrate into a config.yaml or packages, etc..
it would be at least useful as maybe 3 dots in the top right when clicking into configuration of such a entity created via helper - more helpful if it was also available when creating them in the UI so that one could see the code and not create unnecessary entities just to snipe the code / template.
background and as reference - the automation edit config is really helpful for creating yaml and debugging in this way and the thought is it would be also helpful to do this with helpers.
Beta Was this translation helpful? Give feedback.
All reactions