This is why I just flash ESPHome firmware on all all the IoT stuff I buy to make them useful, trusted, and easily updated elements of my home.
I even run tuya-convert to switch over my dozens of light bulbs.
Anything that can't run open firmware I control doesn't get to live on my internal LAN.