Closed lappat closed 2 years ago
Please use type: module
instead of type: js
.
I updated the README.
Please get back to me with results.
after update with the following i don't have a error on the config file, but when a try to restart i have the following log;
line added note creating a error inside the file, i,m using studio code server:
Error log:
Logger: homeassistant.components.websocket_api.http.connection Source: components/hassio/init.py:609 Integration: Home Assistant WebSocket API (documentation, issues) First occurred: 8:48:02 AM (2 occurrences) Last logged: 8:48:09 AM
[140691621942320] The system cannot restart because the configuration is not valid: Integration error: resources - Integration 'resources' not found. Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 190, in handle_call_service await hass.services.async_call( File "/usr/src/homeassistant/homeassistant/core.py", line 1630, in async_call task.result() File "/usr/src/homeassistant/homeassistant/core.py", line 1667, in _execute_service await cast(Callable[[ServiceCall], Awaitable[None]], handler.job.target)( File "/usr/src/homeassistant/homeassistant/components/hassio/init.py", line 609, in async_handle_core_service raise HomeAssistantError( homeassistant.exceptions.HomeAssistantError: The system cannot restart because the configuration is not valid: Integration error: resources - Integration 'resources' not found.
Thnaks for your quick reply,
Patrick
If you installed it via HACS then the right URL should be:
- {type: module, url: '/hacsfiles/garbage-collection-card/garbage-collection-card.js'}
Hi,
i'm still having the following;
Card install in HACS:
No error when adding in configuration file:
Don't have the HACS in my folder in CONFIG:
Let me know,
do you think a need to add in Frontend?
Resources should go into the lovelace section.
it is working now!
thanks for your support
Glad to hear that.
Describe the bug can't see the folder
To Reproduce Steps to reproduce the behavior:
add the following to my configuration.yaml
resources: //When using HACS installation method
Expected behavior
to work
Environment (please complete the following information):
Additional context Add any other context about the problem here.