Closed eiiot closed 3 years ago
Make sure you have read the issue guidelines and that you filled out the entire template.
Logs say install was complete, logs do not contain any uninstall commands.
What does your browser console say?
Logs say install was complete, logs do not contain any uninstall commands.
What does your browser console say?
I'm getting an "Unknown Command" Error
{
"code": "unknown_command",
"message": "Unknown command."
}
Restart homeassistant, it has not setup the websocket API for lovelace resources.
I've restarted HA multiple times, nothing changed
Then there is a bug in homeassistant, from your system health info, you are using lovelace with storage, when you do that it set up the websocket endpoints. (And if you don't filter on logs from hacs you will see that as an error in your logs as well)
Ah, I do see that in the logs...
Logger: homeassistant.components.websocket_api.http.connection
Source: custom_components/browser_mod/helpers.py:49
Integration: Home Assistant WebSocket API (documentation, issues)
First occurred: 11:08:27 PM (4 occurrences)
Last logged: 11:08:30 PM
[140260312270448] Error handling message: Unknown error
[140260312141296] Error handling message: Unknown error
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/websocket_api/connection.py", line 100, in async_handle
handler(self.hass, self, schema(msg))
File "/config/custom_components/browser_mod/connection.py", line 44, in handle_update
devices[deviceID].update(msg.get("data", None))
File "/config/custom_components/browser_mod/connection.py", line 90, in update
self.sensor = self.sensor or create_entity(
File "/config/custom_components/browser_mod/helpers.py", line 49, in create_entity
adder = hass.data[DOMAIN][DATA_ADDERS][platform]
KeyError: 'sensor'
Is there a known fix? I understand this isn't really your issue, but if you know anything that could solve it...
a) Don't use YAML for lovelace at all b) Don't use any UI dashboards (only YAML) Those are your options AFAIK
Okay, let me remove all UI dashboards, I switched to YAML a while back anyway.
This fixed it, thanks!
System Health details
System Health
Home Assistant Community Store
GitHub API | ok -- | -- Github API Calls Remaining | 3991 Installed Version | 1.13.2 Stage | running Available Repositories | 864 Installed Repositories | 51AccuWeather
can_reach_server | ok -- | -- remaining_requests | 47Home Assistant Cloud
logged_in | true -- | -- subscription_expiration | July 29, 2021, 5:00 PM relayer_connected | true remote_enabled | true remote_connected | true alexa_enabled | false google_enabled | true can_reach_cert_server | ok can_reach_cloud_auth | ok can_reach_cloud | okLovelace
dashboards | 5 -- | -- resources | 33 views | 16 mode | storageSpotify
api_endpoint_reachable | ok -- | --Checklist
Describe the issue
When installing or uninstalling frontend components, HACS just loads forever, without actually making any progress.
Reproduction steps
Frontend
Uninstall
Uninstall
...Debug logs