Custom device tracker not firing at expected interval

Hi,

I have been working recently on a custom component for device tracking, using a PhoneTrack-OC backend. PhoneTrack-OC is an app for Nextcloud/Owncloud exposing an API compatible with Owntracks / µLogger / GPSLogger and many more to store your positions in Nextcloud.

My current code is here and it almost work.

I wrote it by looking at other existing device tracker modules, especially the Mercedes one, which is quite similar. Still, it seems the _update_info is only firing once, as can be seen from the following screenshot (it should update every 5 minutes):

2018-02-27-220443

Do you know what I have missed? Thanks!

Actually, I misread the “8 minutes ago” line, and it is simply that value has not changed. Then, everything seems to work fine! Sorry for the noise :confused: