Comments (9)
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.
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.
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.
Yep, could reproduce the error
from remote_homeassistant.
Should be fixed in master now
from remote_homeassistant.
Thanks Lukas. I'll check this in the morning.
from remote_homeassistant.
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.
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.
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)
- Main system has an IP change - How do I change on remote HOT 3
- 800+ exceptions in 2 hours while remote instance is not reachable HOT 1
- Expose remote entities to Google Assistant on main instance HOT 1
- Configuration stuck with button.press in remote services HOT 2
- Newly created entities not migrating/populating.
- I have an error "Unknown error occurred"
- "Invalid credentials"
- Remote Home Assistant
- How to remove entities is integration is removed or entities are un-synched
- Button from remote HA not visible in main HA
- dataplicity remote home assistant
- Still in development? Or is this dead? HOT 1
- Warning message "remote counter is unavailable". HOT 2
- Cloudflare access HOT 3
- Update HA-Core from 2024.3.1 to 2024.4.3 causes issues with REMOTE home assistant instance when calling remote scripts from the master HOT 8
- Remove messages in the logs about the connection HOT 1
- Remote Home Assistant over VPN
- HomeAssistantType will be deprecated in 2025.5 release of HA HOT 1
- weather forecasts are not fully forwarded to main instance.
- Services on remote instance have timeout
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from remote_homeassistant.