hass-browser_mod: KeyError: 'sensor'

2020-06-11 12:27:41 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.2892576496] Error handling message: Unknown error
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/websocket_api/connection.py", line 95, in async_handle
    handler(self.hass, self, schema(msg))
  File "/config/custom_components/browser_mod/connection.py", line 36, in handle_update
    devices[deviceID].update(msg.get("data", None))
  File "/config/custom_components/browser_mod/connection.py", line 76, in update
    self)
  File "/config/custom_components/browser_mod/helpers.py", line 30, in create_entity
    adder = hass.data[DOMAIN][DATA_ADDERS][platform]
KeyError: 'sensor'

showing after updating to version 29, double restarts and refresh cache multiple times…

also still seeing this:

2020-06-11 15:22:09 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection.2922472880] Received invalid command: browser_mod/connect

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Reactions: 6
  • Comments: 29 (6 by maintainers)

Most upvoted comments

@aheath70 don’t worry about it, it’s just ugly. You can try to patch it yourself, but from what I’ve seen @thomasloven doesn’t like to merge PRs for this repo.

Oh I do, I’m just really really bad at it, and currently a bit overloaded at work.

I plan to get back to maintaining my stuff soon, but I’ve been knowingly ignoring it for a while to avoid exhaustion.

yes, it is still there, but suspect Thomas knows of this, and will eventually get to fixing it properly.

dont worry, please take your time. If anything we need a true fix, and not a hack like the one above, that kille browser-mod functionality completely 😭

glad you’re on it, we will hold.