Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
sefininio opened this issue Jun 26, 2020 · 2 comments
Open

Comments

@sefininio
Copy link

sefininio commented Jun 26, 2020

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 sefininio changed the title The ability to stop/start the service based on a HA sensor The ability to stop/start the service polling based on a HA sensor Jun 26, 2020
@gregoryduckworth
Copy link
Owner

There is currently the ability to set a “scan_interval” which you could increase that would give you the same thing. While not as easily useable as an existing input, it would give you the functionality now. At present it is set to go do a scan every 60 seconds but that can be increased.

@sefininio
Copy link
Author

Yes, but that is also manual.
I'd like to be able to "flip the switch" and stop polling, until it is turned off...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants