config-editor-card
config-editor-card copied to clipboard
Only subfolders of /homeassistant visible
Good evening Junkfix,
Hope you're still maintaining this, either way I have a short question. Today I installed Config-editor in a Docker environment (not as a separate Docker container but followed your steps). From the Readme-file I understand all subfolders in
I would like to have access to the files in the opt-directory, in which my relevant files can be found. The homeassistant folder is one of the folders in /opt --i know the folder structure because i can ssh into my raspberry, which is not possible / more complicated from outside home.
Kind regards, René
Same question... How can I access and edit files in sub-sub-sub-directories? I want to access a file in "custom_components/integration_name/data_dir/file.yaml"
Same question... How can I access and edit files in sub-sub-sub-directories? I want to access a file in "custom_components/integration_name/data_dir/file.yaml"
set depth: 5 in config
Good evening Junkfix,
Hope you're still maintaining this, either way I have a short question. Today I installed Config-editor in a Docker environment (not as a separate Docker container but followed your steps). From the Readme-file I understand all subfolders in should be visible, however I only see the files in /homeassistant and subdirectories. Do you know a solution?
I would like to have access to the files in the opt-directory, in which my relevant files can be found. The homeassistant folder is one of the folders in /opt --i know the folder structure because i can ssh into my raspberry, which is not possible / more complicated from outside home.
Kind regards, René
the original goal was not a file editor but to only to edit config of home assistant.
easy option is symlink the folder within /homeassistant
ln -s /opt /homeassistant/opt
for full access to the root filesystem the following may work:
you will need to edit custom_components/config_editor/__init__.py
and change hass.config.path(yamlname) to os.path.join('/opt', yamlname)
line 66 ~~fullpath = hass.config.path(yamlname)~~
fullpath = os.path.join('/opt', yamlname)
line 124 ~~dirnm = os.path.dirname(hass.config.path(yamlname))~~
dirnm = os.path.dirname(os.path.join('/opt', yamlname))
Same question... How can I access and edit files in sub-sub-sub-directories? I want to access a file in "custom_components/integration_name/data_dir/file.yaml"
set
depth: 5in config
thanks @junkfix . Where is the depth setting?
Same question... How can I access and edit files in sub-sub-sub-directories? I want to access a file in "custom_components/integration_name/data_dir/file.yaml"
set
depth: 5in configthanks @junkfix . Where is the
depthsetting?
https://github.com/junkfix/config-editor-card#advanced-config
type: custom:config-editor-card
depth: 5
depth: 5 gives. Is it right or?
type: custom:config-editor-card depth: 5