GithubHelp home page GithubHelp logo

Comments (9)

mattlongman avatar mattlongman commented on June 9, 2024

Same issue in 0.101.1. I've tried to debug this some more, but not made any progress.

Bit of a clarification on the issue though: after doing a bit more testing, the control seems to remain for longer than I thought (perhaps doesn't drop at all - need to test further), but the master instance doesn't get any status updates for entities.

E.g. turn Office Light on through master instance, light comes on, but master instance UI doesn't update to reflect that (toggle in UI pings back to off). Click Office Light toggle back on, and before it pings back, click it off again, and the light will turn off.

So it's sending the right commands, just not reflecting that in home assistant (or homekit, for that matter).

from remote_homeassistant.

mattlongman avatar mattlongman commented on June 9, 2024

I still can't work out what in the homekit component is conflicting with this or why it's erroring, so I resorted to doing the obvious thing and suppressed the KeyError on line 386. Seems to work now! Will test further tomorrow.

from remote_homeassistant.

lukas-hetzenecker avatar lukas-hetzenecker commented on June 9, 2024

Oh! I think I've found the problem.
You're using a entity_prefix.
In the line where self._entities.remove(entity_id), the prefix is not added beforehand.
I will try to come up with a bugfix tomorrow.

from remote_homeassistant.

lukas-hetzenecker avatar lukas-hetzenecker commented on June 9, 2024

Yep, could reproduce the error

from remote_homeassistant.

lukas-hetzenecker avatar lukas-hetzenecker commented on June 9, 2024

Should be fixed in master now

from remote_homeassistant.

mattlongman avatar mattlongman commented on June 9, 2024

Thanks Lukas. I'll check this in the morning.

from remote_homeassistant.

mattlongman avatar mattlongman commented on June 9, 2024

Yep, all good now. Thanks

Edit: spoke too soon. Not used HACS before, so I thought it would reload the latest from github, but I guess HACS needed to reload first?

Seeing the same keyerror:

Sat Nov 02 2019 10:55:44 GMT+0000 (Greenwich Mean Time)
Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/config/custom_components/remote_homeassistant/__init__.py", line 272, in _recv
    callback(message)
  File "/config/custom_components/remote_homeassistant/__init__.py", line 393, in fire_event
    self._entities.remove(entity_id)
KeyError: 'persistent_notification.usb_config_entry_discovery'

from remote_homeassistant.

lukas-hetzenecker avatar lukas-hetzenecker commented on June 9, 2024
File "/config/custom_components/remote_homeassistant/__init__.py", line 393, in fire_event

still looks like the old version. Made a new release now, you can update via HACS

from remote_homeassistant.

mattlongman avatar mattlongman commented on June 9, 2024
File "/config/custom_components/remote_homeassistant/__init__.py", line 393, in fire_event

still looks like the old version. Made a new release now, you can update via HACS

That error was after deleting the folder and downloading the zip from GitHub directly. Error is now on a different line, so is definitely newer than the previous.

(Edit: and error now has a prefix where it didn't before. KeyError: 'persistent_notification.usb_config_entry_discovery')

from remote_homeassistant.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.