Google Maps Travel Time travelmode

Hello,

I am switching to the new Google Maps Travel Time.
I used to get the information bij a ‘rest-call’ to https://maps.googleapis.com/maps/api/distancematrix/json?
In that call I could send the wanted travelmode (sometimes I want to get travel time on bicycle, sometimes with the car or public transport).
I have seen that in the configuration screen you can set that, but can that also be set via an automation? Or do I have to find a way around that (setting up multiple entities for example)

G. Brink
Holland

Found a kind of solution:
Not working with the integration, but sending a ‘post’ url with rest_command. Works like I want and is nice flexible.

Regards
G. Brink
Netherlands