New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
398 Support optional "source" in /sensors/data [GET] #543
Commits on Nov 28, 2022
-
Make SourceIdField importable and usable for API validation
Signed-off-by: F.N. Claessen <felix@seita.nl>
-
Allow filtering sensor data by source in API
Signed-off-by: F.N. Claessen <felix@seita.nl>
-
Show source id in chart tooltip so users have somewhere to find them
Signed-off-by: F.N. Claessen <felix@seita.nl>
Commits on Nov 29, 2022
-
Add test for /sensors/data [GET]
Signed-off-by: F.N. Claessen <felix@seita.nl>
-
Test source field, and refactor test setup
Signed-off-by: F.N. Claessen <felix@seita.nl>
-
Test averaging event values when using resolution field
Signed-off-by: F.N. Claessen <felix@seita.nl>
-
Signed-off-by: F.N. Claessen <felix@seita.nl>
-
Signed-off-by: F.N. Claessen <felix@seita.nl>
-
API changelog entry for introduction of 'source' field
Signed-off-by: F.N. Claessen <felix@seita.nl>
-
API changelog entry for return message fix
Signed-off-by: F.N. Claessen <felix@seita.nl>
-
Add missing API documentation for optional fields
Signed-off-by: F.N. Claessen <felix@seita.nl>
-
Update API documentation section on sources
Signed-off-by: F.N. Claessen <felix@seita.nl>
-
Move test to module using fresh db for each test to avoid session flush
Signed-off-by: F.N. Claessen <felix@seita.nl>
-
Faster conversion of NaN values (we were just missing the dtype conve…
…rsion) Signed-off-by: F.N. Claessen <felix@seita.nl>
Commits on Dec 1, 2022
-
Ownership is an asset property, not a sensor property
Signed-off-by: F.N. Claessen <felix@seita.nl>
-
Move flush to where it's needed (not the conftest)
Signed-off-by: F.N. Claessen <felix@seita.nl>
-
No need to set up gas measurements as part of another fixture
Signed-off-by: F.N. Claessen <felix@seita.nl>