junkfix / config-editor-card Goto Github PK
View Code? Open in Web Editor NEWHome Assistant Configuration Files Editor for Lovelace
Home Assistant Configuration Files Editor for Lovelace
The current update has the following warning: "Not compatible with 2023.3"
Does this mean:
a) 2023.3.0
b) 2023.3.x
c) 2023.3 and all later versions
?
Current version of HA is 2023.4.1 Will it work?
2 features I was looking for today, and thought of sharing with you:
Search/Replace option
when changing the current editing file, confirm to save changes (if any only to avoid confusion). Autosave on mobile devices could be risky as changes might be made unintentionally while scrolling.
I installed this and was able to open a config file. It displays the contents, but I cannot change a thing.
What I can do is add some empty lines by pressing enter, I can search for a file to edit, create a new one by selecting blank, and even save a file. But as soon as I enter some text, the show stops. I discovered this only applies to Safari..
I have recently begun using the config editor card and find it both quicker and more convenient than the editor add-in. I have two related suggestions for new features. The first would be the ability to change the font size (it is a bit too small for me, but everyone's different). The second would be some provision for themes, as in the editor add-in, VSCode, and other programmer editors.
It would be very useful, if the .py
-Scripts located in python_scripts
sub-directory , that are parsed by the python_script
integration (https://www.home-assistant.io/integrations/python_script/), would be editable.
Accessing my home assistant on a mac using Safari and am unable to edit and YAML files. It does pull them up and I am able to see them, but attempting to edit doesn't do anything (space seems to page down). It is working fine with Chrome on the same machine. Anything else I need to do for Safari?
worked once then has failed since - just says "LIST LOADING"
This is wonderful integration, very useful for me, especially since I do not need to expose any special ports to edit any YAML file. I am using Docker on synology. The only issue I found is that once I save a YAML file, the user rights of that file are changed to root/root, which does not allow me to edit it back in VSCode, as it requires 1000/1000 user set on it.
I have apparently managed to install ;
But how do I add an icon to the sidebar to launch the editor?
The docs says:
But "create a new tab" is not a valid option under Configuration > Dashboards > + Add dashboard
Instead, it requires a URL.
What URL should be added here?
type: custom:config-editor-card
is not a valid URL syntax.
Please help.
(All my systems are updated to the latest version, including HA, HACS and the config-editor itself.)
The issue still exists, I hope you can fix this, because the plain text editor is only workaround for now. I would appreciate the color coding.
Seems like there was some hint to the issue:
#5 (comment)
I think I had raised it before, it was resolved in #1 , and now it came back with a different issue
if the file's permissions are set to the following, then I cannot use it back in VSCode
-rw-r--r-- 1 root root 7072 Apr 10 14:00 templates.yaml
The below examples work fine on both the card and VSCode
-rw-r--r-- 1 1000 1000 484 Dec 13 21:22 zones.yaml
-rw-rw-rw- 1 root root 556 Feb 11 17:04 panel_iframe.yaml
-rw-rw-rw- 1 1000 911 151 Sep 10 2021 hacs.json
-rw-rw-rw- 1 root root 165 Jan 15 01:03 mqtt.yaml
-rwxrwxrwx 1 1000 911 0 Oct 6 2021 groups.yaml
bad indentation of a mapping entry (1:36)
1 | type: custom:config-editor-cardtype: '' HA docker version 20240306.0
Would be powerfull to be able to specify the file to open in the configuration for a specific instance..
for exaple:
type: custom:config-editor-card
options:
file: myfile.yaml # File to load (optional)
file-type: yaml # Define file type, hides file type selector (optional)
file-selector: false # Hide file selector when false (optional)
read-only: false # Remove save button when false
basic-editor: false # Set basic editor mode
I installed this HACS Integration, and it works well, really apreciated. However I would rather that it did not pull my !secrets.yaml file into the UI without at least ensuring I am the admin (I don't think it does by quick scan of the code), or even better asking for a password to be set/entered. Is there a way I can accomplish this? Thanks
I can't see the files inside the blueprint directory
Is is possible for the list of the files that are accessible to be static and to be refreshed at hawk?
By doing that you won't need to wait every time for the list to update.
When using on movile device (I have Samsung A52 5G), when ever I select the first of the line, the whole view is moved (shifted) to the left side by at least 3 to 3 columns which I cannot see if I select the correct position or not. I have to move the view to the right to check.
Bit annoying if trying to comment several lines by #
I do have quite a lot of automations, and decided to split them apart. The config-editor-card becomes very handy, because the build-in editor doesn't support splitting the automation files. However, I discovered that I could not see all of my automations because I have a folder structure that is 3 levels deep.. That would not be a problem if I could configure the 'root' folder for the config-editor-card. Would it be possible to have such a feature?
Hey, really nice feature helped me a lot. From the readme of the repo I understand that I should be able to edit all the .yaml files including those in subfolders, any idea why apps.yaml from appdaemon subfolder is not showing up in the list? Is this intended or a limitation?
I can edit file in the sense of deleting lines and pressing return. Typing letters is not working.
Using Edge everything works as expected.
I am using MacOS BigSur as the underlying platform.
I have successfully installed through hacs the config editor but after I add it in my configuration.yaml the config_editor line I am getting an error saying
Integration error: config_editor - Integration 'config_editor' not found.
Any thoughts?
After the upgrade to Home Assistant 2024.3 I am getting the following:
Detected that custom integration 'config_editor' accesses hass.components.websocket_api. This is deprecated and will stop working in Home Assistant 2024.9, it should be updated to import functions used from websocket_api directly at custom_components/config_editor/init.py, line 12: hass.components.websocket_api.async_register_command(websocket_create), please create a bug report at https://github.com/htmltiger/config-editor/issues
Is there a way to view hidden files/search in hidden folders like .storage etc? If not, would it be possible to allow for this (maybe as a tickbox option to do it for those who don't want to see those files?)
Currently, only the bottom bar is always visible. The top one scrolls with the editor and it is inconvenient to scroll up all the way just to reload the file.
Please make the top bar fixed.
Thank you!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.