Open Cheerpipe opened 3 weeks ago
That is interesting. I’ll try if it can be reproduced with Alexa as well.
in general all of this makes sense:
The difference with Alexa will be that devices are never removed when they disappear on the Bridge. They just get "unavailable".
The solution could be to cache entities in the storage and restore them on boot - before HA is contracted first. Anyway the removal of entities is one thing that wouldn’t happen then.
I’ll need to figure out how deletions of entities could be detected.
First of all, I am not sure if this is a bug or even if it belongs here or to the Matterbridge repository, so sorry if this bug report does not apply.
Description of the problem:
If Matterbridge-Home-Assistant (Docker version) is started before Home Assistant is running (or not fully loaded), it will "unregister" all devices, resulting in no devices being exposed. The problem is, if I am using Matterbridge devices with Google Home automations, these actions lose the link with the device, resulting in a "corrupted" automation. (Sorry for my English.)
Steps to reproduce: