As the title says, I currently don't have a reliable method to connect to my home network due to pivpn having issues. In the mean time my phone trys to synced sensors constantly and is one of the power sinks. Is there a way to turn off sync when I am not connected to wifi or even better when I'm not at home?
The only way I can think of is to disable the built-in updates, and set up time based shortcuts and have them do an if on wifi then trigger home assistant app sensor updates.
The way I’d structure it is a normal shortcut that you run from as many time-based shortcuts as you want to create (so you can reuse it easily). You can check the network name you’re connected to and only run if it matches your home network.