Skip to content

Estrazione libreria per uso standalone #84

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

lmartorella
Copy link

Salve,
Visto il buon livello raggiunto nel codice di estrazione di dati dal sito del GSE, ho pensato che potesse essere utile usare questa parte di libreria (solo data extract quindi) per l'integrazione in altri sistemi che non siano basati su HomeAssistant.
Come inizio ho provato a isolare meglio la classe DataDownloader, e per provare a vedere se funziona bene in isolamento ho aggiunto un programma di test CLI in /test.
Non posso putroppo però provare che il refactoring funzioni bene anche nel contesto originale HomeAssistant, per mancanza di test e2e.
Grazie!
L

- Moved implementation of _async_update_data in separate class
- Added CLI standalone test to get hourly data only
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.

1 participant