Is your feature request related to a problem? Please describe.
The DistinctSeries get will return the last unique value set to the series, there is no means to return the last absolute value that was set to the series without using getSet() and looking for the latest last_update value. This seems to be a different behavior that the other classes in the collection and should be changed to give the same behavior as the other classes.
Describe the solution you'd like
I would like to see this behavior changed in the DistinctSeries::get method with the addition of a DistinctSeries::getLastUnique() method to be able to retrieve the last unique value that was added to the series collection.
Addiitonal
This is going to effect the current tests that are performed on the DistinctSeries class and will require updating the tests to match the new output.
Is your feature request related to a problem? Please describe. The DistinctSeries get will return the last unique value set to the series, there is no means to return the last absolute value that was set to the series without using getSet() and looking for the latest last_update value. This seems to be a different behavior that the other classes in the collection and should be changed to give the same behavior as the other classes.
Describe the solution you'd like I would like to see this behavior changed in the DistinctSeries::get method with the addition of a DistinctSeries::getLastUnique() method to be able to retrieve the last unique value that was added to the series collection.
Addiitonal This is going to effect the current tests that are performed on the DistinctSeries class and will require updating the tests to match the new output.