Automation on border crossing

I am thinking about a way to detect the time of border crossing while in a car, in Czechia this is needed on business trips to calculate allowance for expenses. Anyone who came to a smarter idea than adding an item to the map big enough to cover both sides of the highway at the border?

Places can create a sensor that includes the country you are in based on the gps location of your device tracker.

You could use the geocoded location data in the mobile app. It gives a full address, including country.

Attributes include

administrative_area: Canterbury
country: New Zealand
iso_country_code: NZ

the attribute is just perfect, thanks! I also set the sensor to update with the location, let’s see if it is faster than the network provider message when romaing.