I have a Vizio speaker bar that Seems to revert to an unavailable state every time I interact with it. I am able to get it connected, but as soon as an automation powers it on or off or some time in the future after I have successfully added it, it reverts to going to unavailable. This has been going on for several versions of HA now.
Whenever I notice that the speaker bar has gone 'unavailable' I remove the speaker bar from HA, Power off the speaker, unplug....plug it back in, turn it on, re-add it and it's fine for a while, then within a day or so, it's back to being 'unavailable' again.
I have a Cat 6 connection on the speaker bar, so the connection should be stable.