2 Comments
User's avatar
cDR's avatar

Why not create a polling mechanism, instead of this "state" managment?

Expand full comment
Alistair Young's avatar

You mean have the Home Assistant container poll for the database container to be up?

Mostly because that means going to the trouble of modifying the stock HA image (and, honestly, if I was going to do that I'd want to cut right to the root of the issue and make the recorder integration able to cope with and recover from loss-of-database in general), which is a lot of work and means I have to maintain my own variant image.

This, on the other hand, uses an infrastructure tool I already have set up for other purposes and is independent of the existing images.

Expand full comment