frenck/spook

Repair not clearing

Closed this issue · 5 comments

erkr commented

What version of Spook are you using?

3.0.1

What version of Home Assistant are you using?

2024.5.2

The problem

Thanks for the usefully checks provided!
During startup I always have 2 ‘temporary’ repairs for two sensors from the Google Drive Backup add-on. That is by itself correct as that add on mystically adds these sensors with some delay without providing an integration owning those sensors.

Now the bug.:
Once the backup sensors appear, normally the repairs get automatically cleared, but not always!
Example today for the ‘sensor.backup_state’. 40 minutes after the sensor was added, the repair is still there:
image

For some reason that is not always noticed by Spook. Of course it is easily ignored, but that shouldn’t be needed

details repair:
image

Anything in the logs? Paste it here!

No response

During startup I always have 2 ‘temporary’ repairs for two sensors from the Google Drive Backup add-on.

This add-on is bypassing all Home Assistant logic and writing directly into the state machine (which it shouldn't do). It should use an integration. Please report it with the add-on author.

This is not an issue that we can ever solve. This construct the add-on is using can cause more issues with Home Assistant.

../Frenck

erkr commented

I was only referring that the repair doesn't clear over time.
I know the sensors are not correctly added, and that these repairs will temporary pop-up during a restart. I will raise an issue for that in the add on

erkr commented

add on issue already exists: sabeechen/hassio-google-drive-backup#805

I was only referring that the repair doesn't clear over time.

Correct, as this is not handled in the correct way by the add-on. It injects directly into the state machine, bypassing all logic in Home Assistant.

erkr commented

Thanks, will apply the rest workaround mentioned in the issue