junkfix/config-editor-card

How to add to sidebar

oywino opened this issue ยท 22 comments

I have apparently managed to install ;

  1. Integrations
    image
    and
  2. Frontend
    image

But how do I add an icon to the sidebar to launch the editor?
The docs says:
image
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.)

image-62

Edit:
Url needs to be lovelace-editor

Even if I change the URL to lovelace-editor it still doesn't work.

Do you know how to create a new tab ?
3 dots edit take over blank

I'm sorry - I do not understand what you mean: "3 dots edit take over blank" ?

chrome-capture
chrome-capture (1)
chrome-capture

View type: panel mode (1 card)
+ Add card
Custom: config-editor-card

Yes. That worked. Thank you very much.
(But you should update the README.md - I would never have figured this one out on my own) ๐Ÿ˜‰

One question out of curiosity; Why is it necessary to add the line config_editor: to configuration.yaml ?
Is this something you've decided on, or is it a requirement by design from the HA dev team and thus something you could not skip?

I wrote a "guide" mainly to improve my own understanding. If you don't mind, I'd like to publish it on Reddit ?
How to add Config Editor to HA.pdf

Sure it would help others

Hello, I wnat to install "Config Editor" and "Config-Editor-Card" manually without "HACS" .
Now, I can install "Config Editor" through your step 1, and I can see it on the dashboard, it seems to work.
But when I install "Config-Editor-Card" through your step 2, I couldn't find it in the selection of "+Add card",
and I couldn't search it manully either. I don't complete the step 2 {add url /local/config-editor-card.js?v=1 from Configuration -> Lovelace Dashboards -> Resources panel when not using YAML mode } , I don't understand what it means.
Can you help me to solve it ? Please and thank you...

Thank you so much, your guide was helpful.
Now, it can work!
I also check "Lovelace: Custom Cards" and "Registering Resources" of
official documents, maybe it can help somebody.
Thanks, again!

https://developers.home-assistant.io/docs/frontend/custom-ui/registering-resources

I've reached the step of adding the Custom: config-editor-card but the card is not listed. I've added the config_editor: to the config yaml, restarted etc but do not have the option of this card available on the new dashboard I created.

Have you completed step 1?
Seems like you have started from step 2

Thanks did not realize I needed to add the frontend in addition to the integration. Thought it was one or the other.
Card is selectable now thanks

Hello!
I tried to do the steps (both readme and pdf) But somehow i can't seem to get the panel to show up. I'll list what i have done:
image
Both seem to be installed trough HACS.

I also restarted a few times, and included and removed config_editor: in my configuration.yml (i know this file also works, as i added a few services and they also work).
image
The dashboard is also edit to panel 1 card.
image
I don't see the card anywhere and i'm sure i followed all the steps.

You have any suggetions what i could try to get it to work? Appricate ya work so far :)

Developer Tools โ€“ Home Assistant
check if the addon is installed, seems like missing config_editor:

it could be that the card is not loaded, clear cache or try in different browser.
also check if /config/www/community/config-editor-card/config-editor-card.js exists

image

Indeed, so i went into incognito and suddenly it was just there, i even did crtl F5 to refresh withoud cache but to no avail.
Thank you so much! Especially for the incredible fast response!

I was able to install, and I can edit the configuration.yaml file. How can I see and select a yaml file in a subfolder in the the blueprints folder?

thanks @oywino for writing that guide, I would never have got it installed and working without.

oywino commented

thanks @oywino for writing that guide, I would never have got it installed and working without.

You're welcome. Have fun ๐Ÿ˜Š

ND-LJQ commented

thanks @oywino for writing that guide, I would never have got it installed and working without.

You're welcome. Have fun ๐Ÿ˜Š
Thanks, man. That was really helpful

FpazHn commented

I have the following message when I go to HACS.

You have 1 Lovelace elements that are not loaded properly in Lovelace.

It is related to config-editor.

On the other hand --- the editor works great.

How do i get rid of the error?

Thanks in advance.