I know from other comments that the Samsung TV integration isn’t the most reliable for everyone but for me it has worked at least adequately until I upgraded to HA 2021.06.04.
Now my TV is always unavailable when switched off.
I have tried removing the integration and then adding it back.
I know there were some issues in GitHub which is why I waited for 2021.06.04 before I commented here.
Does anyone else have this problem?
Also, I don’t know if the two are related (I suspect they are) but I have another issue in that my Sonos sound bar connected to the TV never goes to paused. It is stuck on playing. This is also new behaviour since the upgrade.
After a few restarts (for unconnected reasons) I got the message that my integration needed attention.
I clicked through as instructed and it said reauth was successful (but i didn’t get the message to accept on my TV).