Android Companion App Sensor Update Frequency Fast Always Only on Home Network - Why Isn't This an Option, or Is It?

I guess the title says it all but it would be nice if sensor update frequency could be fast always while I’m at home so I will always have a charger handy when needed, but then change to fast only when charging when I leave home. Is this an option I am not aware of? Or has anyone got a good automation example that accomplishes this?

Here’s a link to your options

If you’re in android looks like you could leave your phone on slow connect (15min) and toggle persistence by when on wifi. (setting) … Or toggle it via command when your phone meets your requirements…