GoogleGeocode-HASS icon indicating copy to clipboard operation
GoogleGeocode-HASS copied to clipboard

The ability to stop/start the service polling based on a HA sensor

Open sefininio opened this issue 4 years ago • 2 comments

First - I'd like to thank you for your work on this - it is invaluable and I love it!

Is your feature request related to a problem? Please describe. Sometimes I would like to stop polling based on a HA sensor state. For example, if the family is on vacation - we are all together and I know where everyone is, so Id like to stop the polling service to reduce Google Maps costs.

Describe the solution you'd like I'd love to see the option to stop the service based on a HA sensor. I have set up an input_boolean.vacation_mode and a switch that changes its state to on/off accordingly. So I'd be happy to be able to stop polling if the vacation_mode is on and resume polling if it is off

Describe alternatives you've considered The only alternative I can think of is manually disabling the google_geocode configuration. Having it respond to state will be automatic, which is better :)

Thanks again for a great extension! Sefi

sefininio avatar Jun 26 '20 16:06 sefininio