If you have a firewall then make yourself a new network and block it from accessing the internet. Then you can use the smart features that your TV might have, such as powering it on/off, controlling it with Home Assistant, etc and also feel safe knowing that can’t happen again. Hope your replacement TV comes with the older firmware and you get another go at it.