Pre-release v0.4.0-beta2 of the integration is out, using the new API.
Haven’t quite tested it well enough to feel confident in releasing just right now, but will late Tuesday or early Wednesday! If you have the time, please do test and let me know if there are issues.
(Still have to update the README as well.)
Oh, as far as I could tell, some air quality indicators have been removed, compared to the previous endpoint(s). This is the server response when fetching data for Vienna:
{'contamination': [{'poll_id': 23, 'poll_title': 'fungal spores (Alternaria)', 'contamination_1': 3, 'contamination_2': 3, 'contamination_3': 2, 'contamination_4': 2}, {'poll_id': 5, 'poll_title': 'grasses (Poaceae)', 'contamination_1': 2, 'contamination_2': 2, 'contamination_3': 1, 'contamination_4': 1}, {'poll_id': 17, 'poll_title': 'cypress family (Cupressaceae)', 'contamination_1': 1, 'contamination_2': 1, 'contamination_3': 1, 'contamination_4': 1}, {'poll_id': 15, 'poll_title': 'nettle family (Urticaceae)', 'contamination_1': 1, 'contamination_2': 1, 'contamination_3': 1, 'contamination_4': 1}, {'poll_id': 7, 'poll_title': 'mugwort (Artemisia)', 'contamination_1': 1, 'contamination_2': 1, 'contamination_3': 1, 'contamination_4': 1}, {'poll_id': 1, 'poll_title': 'alder (Alnus)', 'contamination_1': 0, 'contamination_2': 0, 'contamination_3': 0, 'contamination_4': 0}, {'poll_id': 3, 'poll_title': 'hazel (Corylus)', 'contamination_1': 0, 'contamination_2': 0, 'contamination_3': 0, 'contamination_4': 0}, {'poll_id': 2, 'poll_title': 'birch (Betula)', 'contamination_1': 0, 'contamination_2': 0, 'contamination_3': 0, 'contamination_4': 0}, {'poll_id': 16, 'poll_title': 'plane tree (Platanus)', 'contamination_1': 0, 'contamination_2': 0, 'contamination_3': 0, 'contamination_4': 0}, {'poll_id': 291, 'poll_title': 'rye (Secale)', 'contamination_1': 0, 'contamination_2': 0, 'contamination_3': 0, 'contamination_4': 0}, {'poll_id': 18, 'poll_title': 'olive (Olea)', 'contamination_1': 0, 'contamination_2': 0, 'contamination_3': 0, 'contamination_4': 0}, {'poll_id': 6, 'poll_title': 'ragweed (Ambrosia)', 'contamination_1': 0, 'contamination_2': 0, 'contamination_3': 0, 'contamination_4': 0}], 'allergyrisk': {'allergyrisk_1': 8, 'allergyrisk_2': 8, 'allergyrisk_3': 5, 'allergyrisk_4': 5}, 'allergyrisk_hourly': {'allergyrisk_hourly_1': [5, 5, 5, 5, 5, 5, 7, 8, 8, 7, 6, 5, 5, 4, 5, 5, 5, 4, 3, 3, 3, 3, 3, 3], 'allergyrisk_hourly_2': [4, 4, 4, 4, 4, 4, 5, 6, 6, 7, 7, 7, 8, 7, 7, 7, 8, 7, 7, 6, 6, 6, 6, 6], 'allergyrisk_hourly_3': [2, 2, 2, 2, 1, 0, 0, 0, 0, 0, 0, 0, 1, 4, 5, 5, 5, 4, 4, 4, 3, 2, 2, 1], 'allergyrisk_hourly_4': [2, 2, 2, 1, 1, 2, 3, 4, 5, 5, 4, 3, 3, 3, 3, 2, 2, 2, 2, 2, 2, 2, 2, 2]}}
If I’m not mistaken, and some indicators aren’t available, all things considered, I think it’s quite generous that the most essential forecast data is being made publicly available—especially given that this is a core part of the Austrian Pollen Information Service’s business model. It’s understandable that not every detail or data point can be shared freely, both for technical and commercial reasons.
Thank you for the endpoint @_GC !
And everyone else, if you’re interested and have the time, do test and let me know what your results are, before a proper release late Tuesday or early Wednesday!
EDIT: This is a breaking change. If you had an earlier version of the integration installed, you need to remove those config entries* and re-add them, having updated.
* It doesn’t matter if you update first, or remove existing config entries prior to updating; but the ones configured with older versions of the integration won’t work with >=0.4.0-beta2; you have to configure new ones. With an API-key.