-
Notifications
You must be signed in to change notification settings - Fork 81
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Connecting instances together, recurssive hell #294
Comments
@samuelkadolph If you would like to post your Remote HA config YAML and any scripts or automations referenced in it, a solution may come. |
I'm thinking this is just a flaw that no one has run into yet. Importing some entities or the script wouldn't make a difference. After digging into the code a bit I made a yaml config (was using UI before) that by default no domains or entities are included and that solved the issue for me. Working configs: hass2
hass1
To test the recursive entity I created a counter helper because I am not using any. Using this config you end up with a very quick growing recursive entity list of hass2
hass1
There either needs to be a way to detect the entity recursion and stop it, prevent cross connecting instances like this with an error, or an option to disable entity includes by default. |
Also this really hoses your hass |
I have two locations and I want to be able to trigger an automation when moving between them that turns lights on/off or AC on/off depending on which direction. I've tried now to cross connect the two instances with remote_homeassistant and it eventually breaks one of the instances with tens of thousands of entities with recurssive prefixes despite setting all domains to exclude. I only want 1 script shared on both sides. Is this a supported use case or a big no-no?
My
.storage/core.entity_registry
went from 580 lines to 15k and some things grind to a halt. Such as voice assistant expose list. You cannot remove all of the entities using the UI. I had to edit the file to remove the entries to restore that instance.For example:
The text was updated successfully, but these errors were encountered: