How to isolate your Amazon Echo Dot from the internet

How to turn an old Amazon Echo Dot into a Home Assistant voice satellite and prevent it from accessing the internet.