Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HA - Config not found even it is existing #116

Closed
route662 opened this issue Oct 31, 2024 · 7 comments
Closed

HA - Config not found even it is existing #116

route662 opened this issue Oct 31, 2024 · 7 comments

Comments

@route662
Copy link

Core 2024.10.4
Supervisor 2024.10.3
Operating System 13.2
Frontend 20241002.4

Using the HA with the description here https://github.com/evcc-io/hassio-addon?tab=readme-ov-file and the given template there https://github.com/evcc-io/hassio-addon/blob/main/evcc/ha_evcc_template.yaml I get the following failure massage, restated HA, filename and Folder is 100% corretly set at "Konfiguration", which is "/homeassistant/evcc.yaml"

Config not found. Please create a config under /homeassistant/evcc.yaml.
For details see evcc documentation at https://github.com/evcc-io/evcc#readme.

@route662 route662 changed the title HA HA - Config not found even it is existing Oct 31, 2024
@thecem
Copy link
Collaborator

thecem commented Oct 31, 2024

Set it to /config/evcc.yaml

@route662
Copy link
Author

I don't have /config/; why can I not store it under /homeassistant/ ?

@thecem
Copy link
Collaborator

thecem commented Oct 31, 2024

/config in an Addon container is mapped to /config(/homeassistant) in HA environment, this is given by HA

@route662
Copy link
Author

I don' t get the remark :)?

@thecem
Copy link
Collaborator

thecem commented Oct 31, 2024

Set it to /config/evcc.yaml

https://developers.home-assistant.io/docs/add-ons/configuration

@thecem thecem closed this as completed Nov 3, 2024
@route662
Copy link
Author

route662 commented Nov 3, 2024

I would not see at as closed, as the Konfiguration Panel is not setting the path as expected and as described in the description. To store the file in the config/ path to make it work is just a quick fix in my understanding?

@thecem
Copy link
Collaborator

thecem commented Nov 3, 2024

Read the above link.

Possible mapping’s are limited by HomeAssistant:

List of Home Assistant directory types to bind mount into your container. Possible values: homeassistant_config, addon_config, ssl, addons, backup, share, media, all_addon_configs, and data. Defaults to read-only, which you can change by adding the property read_only: false. By default, all paths map to / inside the addon container, but an optional path property can also be supplied to configure the path (Example: path: /custom/config/path). If used, the path must not be empty, unique from any other path defined for the addon, and not the root path. Note that the data directory is always mapped and writable, but the path property can be set using the same conventions.

Your suggestion is not listed.

btw /config is the root for linked /homeassistant. The Addon container maps /config within the evcc container to /config (/homeassistant) in HomeAssistant.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants