Skip to content
This repository has been archived by the owner on Oct 12, 2023. It is now read-only.

unifi.Device.SpeedTestStatus.Latency 5.8 API Fix #9

Merged
merged 1 commit into from
Sep 8, 2018

Conversation

rizkybiz
Copy link

@rizkybiz rizkybiz commented Sep 8, 2018

dim13, I stumbled across your library while working on a project to pull time series data from Unifi devices. I only have a version 5.8 controller to test on and with your master branch, I wasn't able to unmarshal the unifi.Device.SpeedTestStatus.Latency field into a string (I'm assuming because of the type that is returned has changed between 5.7.x and 5.8.x versions of the API.) This should work with the 5.7 version of the API as float64 can account for decimals. This is my first pull request so let me know if you'd like me to change anything. I'll also look for other ways to help out and improve the library as I go. Thanks!

… to account for how the 5.8 Unifi Controller API returns the Latency.
@dim13 dim13 merged commit adde90e into dim13:master Sep 8, 2018
@rizkybiz rizkybiz deleted the 5.8API-Fix branch September 9, 2018 12:36
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants