-
Notifications
You must be signed in to change notification settings - Fork 15
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
Nuova API sito GME e riscrittura generale #67
Commits on May 6, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 153174a - Browse repository at this point
Copy the full SHA 153174aView commit details
Commits on May 21, 2024
-
Refactor parziale delle funzioni
semplificazione dei blocchi condizionali spostata logica per trovare la data del prossimo cambio fascia in get_next_date, snellendo la funzione get_fascia
Configuration menu - View commit details
-
Copy full SHA for 11f3ebc - Browse repository at this point
Copy the full SHA 11f3ebcView commit details -
formattazione seguendo linee guida hass di Pylint e Ruff
added vscode env to gitignore add logger for future use change in return types to match expect type or fn type return ordering and cleanup of imports
Configuration menu - View commit details
-
Copy full SHA for a42245d - Browse repository at this point
Copy the full SHA a42245dView commit details -
Moved coordinator into module coordinator.py
Imports are already pruned for new code, so there are missing import in this file!
Configuration menu - View commit details
-
Copy full SHA for 385ae24 - Browse repository at this point
Copy the full SHA 385ae24View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8a86da6 - Browse repository at this point
Copy the full SHA 8a86da6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 97bfdc8 - Browse repository at this point
Copy the full SHA 97bfdc8View commit details -
Fix for security vulnerability in xml parsing
switched base xml parser with defusedxml, as a wrapper of the base parser the sintax doesn't change fixes for date param format in API endpoint Better response handling Tries to load the zip only if the request is 200, otherwise logs the error moved the actual zip load after await Bump version, Drop bs4 requirement
Configuration menu - View commit details
-
Copy full SHA for 9bf61f9 - Browse repository at this point
Copy the full SHA 9bf61f9View commit details -
switched to match for better readability
inverted logic for time range comparison to use chained comparison Reasoning: comparing after 23 and before 7 requires or statement while checking between 8 and 19 can use chained comparison, which i think is more easy to understand.
Configuration menu - View commit details
-
Copy full SHA for 61d675e - Browse repository at this point
Copy the full SHA 61d675eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6db6917 - Browse repository at this point
Copy the full SHA 6db6917View commit details -
Configuration menu - View commit details
-
Copy full SHA for d86507f - Browse repository at this point
Copy the full SHA d86507fView commit details -
fix for updated fascia simplify decode fascia def removed unnecessary override in property Added Release worflow in Github Actions With this action pushing on master creates a new patch version 0.0.+1 , we can override the bump with PR release label, or skip the creation of a release on commit with [norelease] in the commit title Improved request handling and errors exception
Configuration menu - View commit details
-
Copy full SHA for 94e1a39 - Browse repository at this point
Copy the full SHA 94e1a39View commit details -
Configuration menu - View commit details
-
Copy full SHA for 795b2c5 - Browse repository at this point
Copy the full SHA 795b2c5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 798794f - Browse repository at this point
Copy the full SHA 798794fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 860b8ed - Browse repository at this point
Copy the full SHA 860b8edView commit details -
Configuration menu - View commit details
-
Copy full SHA for 30403aa - Browse repository at this point
Copy the full SHA 30403aaView commit details -
using get_next_date utils for date retrieval
fixes Moved Exctract xml to utils module [norelease] bump version in manifest.json Added exceptions for linting known errors
Configuration menu - View commit details
-
Copy full SHA for eef92fa - Browse repository at this point
Copy the full SHA eef92faView commit details -
Migration to Enum and Interfaces for Pun related data
-PunData holds the list of values for every pun band -Fascia Enumerates the bands Universally in the code -PunValues holds the dict of current values for the sensors, this way they are bonded to the enum definition and we can get type checking errors Main Changes: Coordinator: - replaced old for loop with dynamic one using the enum value to set and get pun values, simplified the check and setup of F23 - Removed number of values per pun as a separate dictionary, using len() when needed Interfaces: -New file, created Enum and Interfaces nedeed Sensor: -replace old static creation with a dynamic loop based on Enum Fascia, this way we can add Bands without having to edit all the various reference -Replaced definition of self.tipo with self.fascia using Enum -Simplified handle_coordinator_update using enum Utils: -Updated definitions and type return to Enum Fascia -Updated return type of exctract_xml to match PunData type -simplified append match statement with dynamic match General fixes to types and definitions moved holidays deps to utils non functional fixes Updated wrong type definition for PunSensorEntity removed unused decode fascia function correction to fmt_float type definition possible BREAKING CHANGE, new sensor ids definition di questa non sono sicuro, bisogna valutare bene che impatto ha sui gli user attuali, e considerata la natura dinamica della definizione dei nomi, nel caso ci fosse una variazione per cause non nostre, quale' l'impatto? per ora testo il funzionamento. hotfix missing initialization Revert for moddroid94@1987711 Cambiare id orfana gli altri sensori e non sembra esserci un helper per fare un merge dei sensori, per ora torniamo al behavior di dafult che non introduce breaking changes. hotfix per nome sensore prezzo fascia corrente Hotfixes fix for error in fascia F23 calculation better type definition in PunData removed unused orari dict removed redundant init Fixed F23 calculation, again. Update README.md [norelease] Test Custom Action removed old actions set local version to 0 fix test repo added requirements file automatic publishing of draft release comment edit to test merge. As documented in https://docs.github.com/en/actions/security-guides/automatic-token-authentication#using-the-github_token-in-a-workflow using GITHUB_TOKEN in an action won't trigger other actions (to avoid recursive calling) so the release action to upload and publish the draft release created by the drafter won't trigger, moving everything inside this action should make it run and publish everything, with the cost of having a little more runtime and if something fails in the draft the whole action will fail Revert "fixes to release action"
Configuration menu - View commit details
-
Copy full SHA for c2cb9e8 - Browse repository at this point
Copy the full SHA c2cb9e8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 581ddb1 - Browse repository at this point
Copy the full SHA 581ddb1View commit details -
Removed dependency as it will get pushed by action
Configuration menu - View commit details
-
Copy full SHA for 9d36ac1 - Browse repository at this point
Copy the full SHA 9d36ac1View commit details -
Revert intervallo tentativi in caso di errore
Un errore nello zip viene gestito come un errore normale TODO implementare un errore custom in caso di errore di auth rimosso commento di test Fix riferimenti repo in release drafter e README per merge per: #45 (comment) #45 (comment) fix for permission in action
Configuration menu - View commit details
-
Copy full SHA for c840b51 - Browse repository at this point
Copy the full SHA c840b51View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7dc3685 - Browse repository at this point
Copy the full SHA 7dc3685View commit details
Commits on May 22, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 54561c7 - Browse repository at this point
Copy the full SHA 54561c7View commit details
Commits on May 31, 2024
-
Aggiunto numero random di minuti all'orario di update per evitare di …
…effettuare tutte le request API allo stesso momento.
Configuration menu - View commit details
-
Copy full SHA for f00a293 - Browse repository at this point
Copy the full SHA f00a293View commit details
Commits on Jun 10, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 2ac4eb0 - Browse repository at this point
Copy the full SHA 2ac4eb0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 78afabc - Browse repository at this point
Copy the full SHA 78afabcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 32e280d - Browse repository at this point
Copy the full SHA 32e280dView commit details
Commits on Jun 15, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 038c098 - Browse repository at this point
Copy the full SHA 038c098View commit details -
Configuration menu - View commit details
-
Copy full SHA for 997b605 - Browse repository at this point
Copy the full SHA 997b605View commit details -
Configuration menu - View commit details
-
Copy full SHA for cfe539f - Browse repository at this point
Copy the full SHA cfe539fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 87784a5 - Browse repository at this point
Copy the full SHA 87784a5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 04d3022 - Browse repository at this point
Copy the full SHA 04d3022View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4a1f43c - Browse repository at this point
Copy the full SHA 4a1f43cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5396381 - Browse repository at this point
Copy the full SHA 5396381View commit details -
Configuration menu - View commit details
-
Copy full SHA for a8b6072 - Browse repository at this point
Copy the full SHA a8b6072View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5d01c72 - Browse repository at this point
Copy the full SHA 5d01c72View commit details -
Configuration menu - View commit details
-
Copy full SHA for 63447d2 - Browse repository at this point
Copy the full SHA 63447d2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 71d289e - Browse repository at this point
Copy the full SHA 71d289eView commit details -
Configuration menu - View commit details
-
Copy full SHA for bea10b4 - Browse repository at this point
Copy the full SHA bea10b4View commit details -
Configuration menu - View commit details
-
Copy full SHA for d18a7e0 - Browse repository at this point
Copy the full SHA d18a7e0View commit details -
Configuration menu - View commit details
-
Copy full SHA for e2eba1e - Browse repository at this point
Copy the full SHA e2eba1eView commit details -
Configuration menu - View commit details
-
Copy full SHA for f71fe19 - Browse repository at this point
Copy the full SHA f71fe19View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2934e31 - Browse repository at this point
Copy the full SHA 2934e31View commit details -
Configuration menu - View commit details
-
Copy full SHA for 490859c - Browse repository at this point
Copy the full SHA 490859cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9bbef33 - Browse repository at this point
Copy the full SHA 9bbef33View commit details
Commits on Oct 26, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 6cfddd5 - Browse repository at this point
Copy the full SHA 6cfddd5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1b9750a - Browse repository at this point
Copy the full SHA 1b9750aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 61eb072 - Browse repository at this point
Copy the full SHA 61eb072View commit details -
Configuration menu - View commit details
-
Copy full SHA for ab32e74 - Browse repository at this point
Copy the full SHA ab32e74View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7cd70f3 - Browse repository at this point
Copy the full SHA 7cd70f3View commit details -
Merge pull request #45 from moddroid94/master
Refactor to Interfaces and Enums
Configuration menu - View commit details
-
Copy full SHA for 526a154 - Browse repository at this point
Copy the full SHA 526a154View commit details -
Configuration menu - View commit details
-
Copy full SHA for c2556e5 - Browse repository at this point
Copy the full SHA c2556e5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6e511fd - Browse repository at this point
Copy the full SHA 6e511fdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5166886 - Browse repository at this point
Copy the full SHA 5166886View commit details -
Configuration menu - View commit details
-
Copy full SHA for ea274d5 - Browse repository at this point
Copy the full SHA ea274d5View commit details
Commits on Nov 2, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 84a865b - Browse repository at this point
Copy the full SHA 84a865bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 17141bd - Browse repository at this point
Copy the full SHA 17141bdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 650791c - Browse repository at this point
Copy the full SHA 650791cView commit details -
Configuration menu - View commit details
-
Copy full SHA for c0eb98d - Browse repository at this point
Copy the full SHA c0eb98dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6d59ac1 - Browse repository at this point
Copy the full SHA 6d59ac1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6bf8866 - Browse repository at this point
Copy the full SHA 6bf8866View commit details
Commits on Nov 8, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 402b8ea - Browse repository at this point
Copy the full SHA 402b8eaView commit details
Commits on Nov 9, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 450f2bb - Browse repository at this point
Copy the full SHA 450f2bbView commit details -
Configuration menu - View commit details
-
Copy full SHA for dc29478 - Browse repository at this point
Copy the full SHA dc29478View commit details -
Configuration menu - View commit details
-
Copy full SHA for a342e0a - Browse repository at this point
Copy the full SHA a342e0aView commit details -
Configuration menu - View commit details
-
Copy full SHA for b04b410 - Browse repository at this point
Copy the full SHA b04b410View commit details -
Configuration menu - View commit details
-
Copy full SHA for d9ae6e7 - Browse repository at this point
Copy the full SHA d9ae6e7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3681f66 - Browse repository at this point
Copy the full SHA 3681f66View commit details -
Configuration menu - View commit details
-
Copy full SHA for f3bd425 - Browse repository at this point
Copy the full SHA f3bd425View commit details
Commits on Nov 12, 2024
-
Configuration menu - View commit details
-
Copy full SHA for a3455ae - Browse repository at this point
Copy the full SHA a3455aeView commit details
Commits on Nov 14, 2024
-
Configuration menu - View commit details
-
Copy full SHA for fb11c94 - Browse repository at this point
Copy the full SHA fb11c94View commit details