Skip to content

v1.2.4 - Add Update Location and Power Off button

Choose a tag to compare

@renedis renedis released this 26 Sep 15:08
· 10 commits to main since this release
82bb073

v1.2.4

  • Added function to update location and turn the device off. (tested and working fine)

Note 1:
When the integration is added for the first time, Home Assistant marks the buttons as potentially dangerous. As a safety measure, the device needs to be disabled and then re-enabled once. This only needs to be done the first time (not after an integration update). I tried to force-enable it from within the integration, but was unsuccessful in implementing that.

Note 2:
Using the Update Location button should only be pressed once max every 2 minutes. It can take up to 1 or 2 minutes (just like in the official app) to have the information forcefully refreshed.

Note 3:
API calls are changed from 30 second polling to 60 second polling. This is done to not overload the One2track servers.

https://github.com/renedis/one2track