You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Updates to support Geocaching Home Assistant integration feature updates (#23)
* Fix missing async keyword, see home-assistant/core#99977
* Add nearby caches to status
* Change trackable distance traveled data type
* Fix missing status initialization for nearby caches
* Fix typo causing cache coordinates not to be parsed
* Added update_caches and _get_cache_info, with some more stuff, have not been able to test that it works yet, /Per&Albin
* add seperate call for geocaches
* Started working on the trackable journey list, not yet tested /Albin Per
* fix for appending to array in trackable journey api
* add support for trackable objects
* uncommented code
* Revert formatting
* Fix errors and add missing cache data points
* Rename caches -> tracked_caches
* Correctly parse location data for caches
* Rename caches_codes -> cache_codes
* Fix trackable parsing, add additonal fields to caches and trackables, some refactoring and cleanup
* Formatting
* Always return original value if new value could not be parsed
* Update NearbyCachesSetting
* Rename cache update function
* Replace cache find count with found date and found switch
* Rework foundByUser to be nullable
* Fix nearby caches update condition and limit take parameter for API
* Remove unused function, align variables and functions to snake_case
* Improve trackable journey data and change API endpoint
* Reverse geocode trackable journey locations
* Add distance between journeys
* Handle blocking reverse geocoding outside of init function
* Separate nearby caches logic to allow directed usage
* Add comments and improve documentation
* Add settings validation method
* Add cache and trackable URLs
* Formatting and cleanup
* Update test
* Limits: cache and trackable limits in settings and in API call. Error handling: Raise error if too many codes were configured in settings. Automatically remove duplicate codes
* Move limits to limits.py
---------
Co-authored-by: Per Samuelsson <[email protected]>
Co-authored-by: Albin <[email protected]>
Co-authored-by: Jakob Windt <[email protected]>
Co-authored-by: jwindt <[email protected]>
# Note that if we are not fetching all journeys, the distance for the first journey in our data will be incorrect, since it does not know there was a previous journey
243
+
iftrackable_journey_data:
244
+
# Create a list of GeocachingTrackableJourney instances
0 commit comments