Skip to content
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

18 test background task to calculate hourly averages #30

Merged
merged 8 commits into from
Nov 8, 2024

Conversation

n11ik
Copy link
Contributor

@n11ik n11ik commented Nov 8, 2024

Ich habe jetzt den "/station/historical" Endpunkt so erweitert, dass man die precision auf hourly_avg setzten kann, wodurch man die Stundenmittelwerte im selben format bekommt.

@n11ik
Copy link
Contributor Author

n11ik commented Nov 8, 2024

@silvioheinze
Ich habe in models.py die klasse: "HourlyDimensionAverages" erstellt die auf den view referenziert. Wenn man aber jetzt eine auto migration durchführt glaubt alembic das es die Tabelle anlegen muss. Weißt du ob man die excludieren kann.

@n11ik n11ik merged commit 9b9b4d7 into main Nov 8, 2024
1 check passed
@n11ik n11ik deleted the 18-test-background-task-to-calculate-hourly-averages branch November 8, 2024 12:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

test sensor.community imports test background task to calculate hourly averages
1 participant