custom-components / remote_homeassistant

Links multiple home-assistant instances together
Apache License 2.0
883 stars 81 forks source link

Configuration of an existing remote assistant fails without changes #298

Open deimosfr opened 1 month ago

deimosfr commented 1 month ago

Hi,

First, thanks for this plugin, it's super useful. I'd like to add/update things in my current installation of remote assistant. However I'm stuck because of an unknown error:

input_button is not a valid option

I don't really get what is this error message and how to deal with it.

What I do, is simply click on configure, the pass the Basic Options:

screenshot_2024-07-17_10 22 39

And then pass the Domain and entity filters. I do not change any config. I've tried to add updates, but got the exact same message.

screenshot_2024-07-17_10 24 25

Any hint would be appreciated on what to look at/fix this issue.

Thanks in advance

rstjernm commented 1 month ago

Looks like I have the same issue? "Vacuum" is added under the "exlude domain" selection.

image

I am unable to remove "vacuum" from the exclude domain config wizard.

image
jaym25 commented 1 month ago

You may need to load some components that are not already being otherwise used on the main instance. If you can't accomplish that through the UI interface, I would recommend using yaml configuration on the main instance until this issue is corrected... Pull requests are welcome!

See the main page and issue #265 for sample yaml configurations...

deimosfr commented 1 month ago

Here is the solution I've found to fix my issue:

  1. Find the issue input_button on my side
    $ grep -ri input_button .storage/
    ./.storage/core.config_entries:            "input_button"
    ./.storage/core.config_entries:            "input_button"
    ./.storage/input_button:  "key": "input_button",
  2. Edit core.config_entries file and removed input_button from the remote homeassistant config.
  3. Full restart home assistant (not just hot reload)

Then I was able to update my config again. Hope it will help

felipealmeida commented 3 weeks ago

I am having the same problem. I was able to solve by editing the config_entries as @deimosfr mentioned.