itchannel / fordpass-ha

Fordpass integration for Home Assistant
311 stars 56 forks source link

fordpass.tracker refresh rate #75

Closed Hydrooxygen closed 3 years ago

Hydrooxygen commented 3 years ago

Hi, I figured, that the device_tracker.fordpass_tracker refreshes every 5 minutes. Is there a posibility to change that interval? I want to automate the garage door. And waiting 5 mins in front of it is not the solution ;)

Thanks a lot.

itchannel commented 3 years ago

You can call the service "fordpass.refresh_status" which will poll the car and get an update. However the more you do this the more the battery will drain so I wouldn't recommend using the fordpass tracker solely for detecting when your near home.

Also the individual entity can be updated more often by addding the below, however it will only poll the API more often not the car.

fordpass:
   scan_interval: 1s
Hydrooxygen commented 3 years ago

Thank you for the info