Changing scanning interval of OpenGarage integration

Hey everyone,

Pretty much as the title states. I have the OpenGarage integration setup. Previously it was in the configuration.yaml but now it is integrated into the GUI integration.

I have issues where I have an automation that turns lights on when the garage door opens (or rather is identified as open after dark) but the pollig rate is slow enough that I can open the garage door, drive in and close the door before the system polls again. This basically has the effect that the door was never “open”.

Now I know you can modify the scanning_interval within the config.yaml file when you used to add the integration but how do you do that now?

Thank you.

You turn off polling on the integration via the .... Then you make an automation that polls it when you want with the homeassistant.update_entity service call.

Thanks for that. Another question… more of a how to do…

So what would I set as a trigger if I wanted to do a “choose” automation.

So basically if (after dark and (me or my wife is out OR the car_in_garage sensor is off)) then poll every xx seconds, else poll every minute.

Thinking that this will save some “cycles” on the device constantly polling every 10 seconds when it’s not needed. But if I set the automation like suggested then the trigger is every xx seconds, so for my choose automation what would I set the trigger?

Or do i simply set it at 10 seconds because the overhead is actually negligible?

Not sure if the overhead will be negligible. But you’d make 2 automations. One that polls every xx seconds, and one that polls every minute. Then you’d made a third automation that turns the other 2 on or off.

Alrighty then. Thanks :slight_smile: