Releases: home-assistant-libs/forecast_solar
Releases · home-assistant-libs/forecast_solar
v5.0.0
What's changed
🚨 Breaking changes
- #253 Drop python 3.11 and add python 3.14 support @klaasnicolaas
✨ New features
🧰 Maintenance
- #253 Drop python 3.11 and add python 3.14 support @klaasnicolaas
- #280 Migrate from pre-commit to prek @klaasnicolaas
- #292 Migrate from mypy to ty @klaasnicolaas
- #293 🎆Updates maintenance/license year to 2026 @klaasnicolaas
⬆️ Dependency updates
97 changes
- #190 Bump ruff from 0.11.8 to 0.11.9 @dependabot[bot]
- #191 Bump codecov/codecov-action from 5.4.2 to 5.4.3 @dependabot[bot]
- #192 Bump ruff from 0.11.9 to 0.11.10 @dependabot[bot]
- #193 Bump ruff from 0.11.10 to 0.11.11 @dependabot[bot]
- #196 Bump mypy from 1.15.0 to 1.16.0 @dependabot[bot]
- #195 Bump aiohttp from 3.11.18 to 3.12.6 @dependabot[bot]
- #194 Bump ruff from 0.11.11 to 0.11.12 @dependabot[bot]
- #197 Bump ruff from 0.11.12 to 0.11.13 @dependabot[bot]
- #199 Bump aiohttp from 3.12.6 to 3.12.11 @dependabot[bot]
- #198 Bump pytest from 8.3.5 to 8.4.0 @dependabot[bot]
- #200 Bump pytest-asyncio from 0.26.0 to 1.0.0 @dependabot[bot]
- #201 Bump aiohttp from 3.12.11 to 3.12.13 @dependabot[bot]
- #202 Bump yarl from 1.20.0 to 1.20.1 @dependabot[bot]
- #203 Bump pytest-cov from 6.1.1 to 6.2.1 @dependabot[bot]
- #204 Bump pytest from 8.4.0 to 8.4.1 @dependabot[bot]
- #205 Bump mypy from 1.16.0 to 1.16.1 @dependabot[bot]
- #206 Bump ruff from 0.11.13 to 0.12.0 @dependabot[bot]
- #208 Bump ruff from 0.12.0 to 0.12.1 @dependabot[bot]
- #209 Bump ruff from 0.12.1 to 0.12.2 @dependabot[bot]
- #210 Bump ruff from 0.12.2 to 0.12.3 @dependabot[bot]
- #211 Bump aiohttp from 3.12.13 to 3.12.14 @dependabot[bot]
- #214 Bump pytest-asyncio from 1.0.0 to 1.1.0 @dependabot[bot]
- #213 Bump ruff from 0.12.3 to 0.12.4 @dependabot[bot]
- #212 Bump mypy from 1.16.1 to 1.17.0 @dependabot[bot]
- #215 Bump ruff from 0.12.4 to 0.12.5 @dependabot[bot]
- #216 Bump mypy from 1.17.0 to 1.17.1 @dependabot[bot]
- #218 Bump aiohttp from 3.12.14 to 3.12.15 @dependabot[bot]
- #217 Bump ruff from 0.12.5 to 0.12.7 @dependabot[bot]
- #219 Bump actions/download-artifact from 4.3.0 to 5.0.0 @dependabot[bot]
- #220 Bump pre-commit from 4.2.0 to 4.3.0 @dependabot[bot]
- #222 Bump pre-commit-hooks from 5.0.0 to 6.0.0 @dependabot[bot]
- #221 Bump ruff from 0.12.7 to 0.12.8 @dependabot[bot]
- #223 Bump actions/checkout from 4.2.2 to 5.0.0 @dependabot[bot]
- #224 Bump ruff from 0.12.8 to 0.12.9 @dependabot[bot]
- #225 Bump codecov/codecov-action from 5.4.3 to 5.5.0 @dependabot[bot]
- #226 Bump ruff from 0.12.9 to 0.12.10 @dependabot[bot]
- #228 Bump actions/setup-python from 5.6.0 to 6.0.0 @dependabot[bot]
- #227 Bump pypa/gh-action-pypi-publish from 1.12.4 to 1.13.0 @dependabot[bot]
- #229 Bump codecov/codecov-action from 5.5.0 to 5.5.1 @dependabot[bot]
- #232 Bump pytest from 8.4.1 to 8.4.2 @dependabot[bot]
- #230 Bump ruff from 0.12.10 to 0.12.12 @dependabot[bot]
- #231 Bump pytest-cov from 6.2.1 to 6.3.0 @dependabot[bot]
- #234 Bump ruff from 0.12.12 to 0.13.0 @dependabot[bot]
- #233 Bump pytest-cov from 6.3.0 to 7.0.0 @dependabot[bot]
- #235 Bump mypy from 1.17.1 to 1.18.1 @dependabot[bot]
- #236 Bump pytest-asyncio from 1.1.0 to 1.2.0 @dependabot[bot]
- #238 Bump ruff from 0.13.0 to 0.13.1 @dependabot[bot]
- #239 Bump syrupy from 4.9.1 to 5.0.0 @dependabot[bot]
- #240 Bump ruff from 0.13.1 to 0.13.2 @dependabot[bot]
- #237 Bump mypy from 1.18.1 to 1.18.2 @dependabot[bot]
- #242 Bump ruff from 0.13.2 to 0.13.3 @dependabot[bot]
- #241 Bump yarl from 1.20.1 to 1.21.0 @dependabot[bot]
- #244 Bump yarl from 1.21.0 to 1.22.0 @dependabot[bot]
- #245 Bump ruff from 0.13.3 to 0.14.0 @dependabot[bot]
- #243 Bump aiohttp from 3.12.15 to 3.13.0 @dependabot[bot]
- #247 Bump ruff from 0.14.0 to 0.14.1 @dependabot[bot]
- #246 Bump aiohttp from 3.13.0 to 3.13.1 @dependabot[bot]
- #249 Bump actions/download-artifact from 5.0.0 to 6.0.0 @dependabot[bot]
- #248 Bump actions/upload-artifact from 4.6.2 to 5.0.0 @dependabot[bot]
- #250 Bump ruff from 0.14.1 to 0.14.2 @dependabot[bot]
- #252 Bump aiohttp from 3.13.1 to 3.13.2 @dependabot[bot]
- #251 Bump ruff from 0.14.2 to 0.14.3 @dependabot[bot]
- #255 Bump ruff from 0.14.3 to 0.14.4 @dependabot[bot]
- #254 Bump pre-commit from 4.3.0 to 4.4.0 @dependabot[bot]
- #256 Bump actions/checkout from 5.0.0 to 5.0.1 @dependabot[bot]
- #257 Bump actions/checkout from 5.0.1 to 6.0.0 @dependabot[bot]
- #260 Bump pytest-asyncio from 1.2.0 to 1.3.0 @dependabot[bot]
- #258 Bump ruff from 0.14.4 to 0.14.6 @dependabot[bot]
- #259 Bump pre-commit from 4.4.0 to 4.5.0 @dependabot[bot]
- #261 Bump actions/setup-python from 6.0.0 to 6.1.0 @dependabot[bot]
- #262 Bump mypy from 1.18.2 to 1.19.0 @dependabot[bot]
- #263 Bump pytest from 8.4.2 to 9.0.1 @dependabot[bot]
- #264 Bump ruff from 0.14.6 to 0.14.7 @dependabot[bot]
- #265 Bump actions/checkout from 6.0.0 to 6.0.1 @dependabot[bot]
- #267 Bump ruff from 0.14.7 to 0.14.8 @dependabot[bot]
- #266 Bump pytest from 9.0.1 to 9.0.2 @dependabot[bot]
- #268 Bump codecov/codecov-action from 5.5.1 to 5.5.2 @dependabot[bot]
- #272 Bump ruff from 0.14.8 to 0.14.9 @dependabot[bot]
- #270 Bump actions/download-artifact from 6.0.0 to 7.0.0 @dependabot[bot]
- #269 Bump actions/upload-artifact from 5.0.0 to 6.0.0 @dependabot[bot]
- #271 Bump mypy from 1.19.0 to 1.19.1 @dependabot[bot]
- #274 Bump pre-commit from 4.5.0 to 4.5.1 @dependabot[bot]
- #273 Bump ruff from 0.14.9 to 0.14.10 @dependabot[bot]
- #276 Bump aiohttp from 3.13.2 to 3.13.3 @dependabot[bot]
- #277 Bump ruff from 0.14.10 to 0.14.11 @dependabot[bot]
- #279 Bump yamllint from 1.37.1 to 1.38.0 @dependabot[bot]
- #278 Bump ruff from 0.14.11 to 0.14.13 @dependabot[bot]
- #282 Bump actions/setup-python from 6.1.0 to 6.2.0 @dependabot[bot]
- #281 Bump release-drafter/release-drafter from 6.1.0 to 6.1.1 @dependabot[bot]
- #283 Bump release-drafter/release-drafter from 6.1.1 to 6.2.0 @dependabot[bot]
- #284 Bump actions/checkout from 6.0.1 to 6.0.2 @dependabot[bot]
- #286 Bump syrupy from 5.0.0 to 5.1.0 @dependabot[bot]
- #285 Bump ruff from 0.14.13 to 0.14.14 @dependabot[bot]
- #287 Bump prek from 0.2.30 to 0.3.1 @dependabot[bot]
- #288 Bump prek from 0.3.1 to 0.3.2 @dependabot[bot]
- #...
v4.2.0
What's changed
🐛 Bug fixes
⬆️ Dependency updates
15 changes
- #173 Bump codecov/codecov-action from 5.4.0 to 5.4.2 @dependabot[bot]
- #174 Bump actions/setup-python from 5.5.0 to 5.6.0 @dependabot[bot]
- #175 Bump actions/download-artifact from 4.2.1 to 4.3.0 @dependabot[bot]
- #179 Bump mypy from 1.14.1 to 1.15.0 @dependabot[bot]
- #185 Bump yarl from 1.18.3 to 1.20.0 @dependabot[bot]
- #177 Bump ruff from 0.9.1 to 0.11.7 @dependabot[bot]
- #184 Bump syrupy from 4.8.0 to 4.9.1 @dependabot[bot]
- #176 Bump aiohttp from 3.11.11 to 3.11.18 @dependabot[bot]
- #182 Bump pre-commit from 4.0.1 to 4.2.0 @dependabot[bot]
- #183 Bump pytest-cov from 6.0.0 to 6.1.1 @dependabot[bot]
- #178 Bump pytest-asyncio from 0.25.2 to 0.26.0 @dependabot[bot]
- #180 Bump pytest from 8.3.4 to 8.3.5 @dependabot[bot]
- #186 Bump ruff from 0.11.7 to 0.11.8 @dependabot[bot]
- #188 Bump yamllint from 1.35.1 to 1.37.1 @dependabot[bot]
- #187 Bump aiodns from 3.2.0 to 3.3.0 @dependabot[bot]
Full Changelog: v4.1.0...v4.2.0
v4.1.0
What's changed
🐛 Bug fixes
- #170 Fix rate limit check to only update ratelimit on successful response @klaasnicolaas
🧰 Maintenance
- #155 Migrate pyproject for Poetry 2.0 @klaasnicolaas
- #156 🎆Updates maintenance/license year to 2025 @klaasnicolaas
⬆️ Dependency updates
45 changes
- #126 Bump codecov/codecov-action from 5.0.0 to 5.0.2 @dependabot[bot]
- #123 Bump aiohttp from 3.10.10 to 3.11.2 @dependabot[bot]
- #124 Bump ruff from 0.7.3 to 0.7.4 @dependabot[bot]
- #125 Bump yarl from 1.17.1 to 1.17.2 @dependabot[bot]
- #127 Bump codecov/codecov-action from 5.0.2 to 5.0.4 @dependabot[bot]
- #128 Bump codecov/codecov-action from 5.0.4 to 5.0.7 @dependabot[bot]
- #132 Bump aiohttp from 3.11.2 to 3.11.7 @dependabot[bot]
- #130 Bump yarl from 1.17.2 to 1.18.0 @dependabot[bot]
- #131 Bump ruff from 0.7.4 to 0.8.0 @dependabot[bot]
- #129 Bump syrupy from 4.7.2 to 4.8.0 @dependabot[bot]
- #136 Bump pytest from 8.3.3 to 8.3.4 @dependabot[bot]
- #135 Bump aiohttp from 3.11.7 to 3.11.9 @dependabot[bot]
- #134 Bump yarl from 1.18.0 to 1.18.3 @dependabot[bot]
- #133 Bump ruff from 0.8.0 to 0.8.1 @dependabot[bot]
- #137 Bump codecov/codecov-action from 5.0.7 to 5.1.1 @dependabot[bot]
- #139 Bump ruff from 0.8.1 to 0.8.2 @dependabot[bot]
- #138 Bump aiohttp from 3.11.9 to 3.11.10 @dependabot[bot]
- #140 Bump pypa/gh-action-pypi-publish from 1.12.2 to 1.12.3 @dependabot[bot]
- #143 Bump pytest-asyncio from 0.24.0 to 0.25.0 @dependabot[bot]
- #142 Bump pytest-freezer from 0.4.8 to 0.4.9 @dependabot[bot]
- #141 Bump ruff from 0.8.2 to 0.8.3 @dependabot[bot]
- #144 Bump actions/upload-artifact from 4.4.3 to 4.5.0 @dependabot[bot]
- #145 Bump codecov/codecov-action from 5.1.1 to 5.1.2 @dependabot[bot]
- #148 Bump ruff from 0.8.3 to 0.8.4 @dependabot[bot]
- #147 Bump mypy from 1.13.0 to 1.14.0 @dependabot[bot]
- #146 Bump aiohttp from 3.11.10 to 3.11.11 @dependabot[bot]
- #151 Bump mypy from 1.14.0 to 1.14.1 @dependabot[bot]
- #150 Bump ruff from 0.8.4 to 0.8.6 @dependabot[bot]
- #149 Bump pytest-asyncio from 0.25.0 to 0.25.1 @dependabot[bot]
- #152 Bump actions/upload-artifact from 4.5.0 to 4.6.0 @dependabot[bot]
- #154 Bump pytest-asyncio from 0.25.1 to 0.25.2 @dependabot[bot]
- #153 Bump ruff from 0.8.6 to 0.9.1 @dependabot[bot]
- #157 Bump release-drafter/release-drafter from 6.0.0 to 6.1.0 @dependabot[bot]
- #158 Bump codecov/codecov-action from 5.1.2 to 5.2.0 @dependabot[bot]
- #159 Bump pypa/gh-action-pypi-publish from 1.12.3 to 1.12.4 @dependabot[bot]
- #160 Bump codecov/codecov-action from 5.2.0 to 5.3.0 @dependabot[bot]
- #161 Bump codecov/codecov-action from 5.3.0 to 5.3.1 @dependabot[bot]
- #162 Bump actions/setup-python from 5.3.0 to 5.4.0 @dependabot[bot]
- #163 Bump actions/upload-artifact from 4.6.0 to 4.6.1 @dependabot[bot]
- #164 Bump actions/download-artifact from 4.1.8 to 4.1.9 @dependabot[bot]
- #165 Bump codecov/codecov-action from 5.3.1 to 5.4.0 @dependabot[bot]
- #166 Bump actions/download-artifact from 4.1.9 to 4.2.0 @dependabot[bot]
- #167 Bump actions/download-artifact from 4.2.0 to 4.2.1 @dependabot[bot]
- #168 Bump actions/upload-artifact from 4.6.1 to 4.6.2 @dependabot[bot]
- #169 Bump actions/setup-python from 5.4.0 to 5.5.0 @dependabot[bot]
Full Changelog: v4.0.0...v4.1.0
v4.0.0
What's changed
This release consists of a complete refactor of the package, including the entire development stack and github actions.
Please note that the package will now request data using UTC time and no longer local time (with iso8601).
./Klaas
🚨 Breaking changes
- #45 Migrate to development with Poetry @klaasnicolaas
- #48 Rename the ratelimit exception @klaasnicolaas
- #116 Update time parameter format from iso8601 to utc @klaasnicolaas
✨ New features
- #63 Allow usage of the "adjust forecast" feature @GreenOpposite
- #115 Update Python versions to include 3.13 @klaasnicolaas
🚀 Enhancements
- #45 Migrate to development with Poetry @klaasnicolaas
- #47 Refactor the tests for forecast.solar @klaasnicolaas
- #48 Rename the ratelimit exception @klaasnicolaas
- #49 Replace Black and Flake8 for Ruff @klaasnicolaas
- #114 Refactor deprecated pre-commit stages @klaasnicolaas
- #117 Add DNS error handling tests for ForecastSolar client @klaasnicolaas
🧰 Maintenance
- #46 Update CI tests to python version 3.11 @klaasnicolaas
- #45 Migrate to development with Poetry @klaasnicolaas
- #47 Refactor the tests for forecast.solar @klaasnicolaas
- #49 Replace Black and Flake8 for Ruff @klaasnicolaas
- #50 Add yamllint with CI workflow @klaasnicolaas
- #56 Add mypy with CI workflow @klaasnicolaas
- #60 Add pre-commit to package @klaasnicolaas
- #72 Enable dependabot pip updates @klaasnicolaas
- #119 Update github actions worksflows @klaasnicolaas
📚 Documentation
- #118 Update docs to clarify installation and testing instructions @klaasnicolaas
⬆️ Dependency updates
60 changes
- #54 Bump actions/checkout from 3.0.2 to 4.1.5 @dependabot
- #52 Bump codecov/codecov-action from 4.3.0 to 4.3.1 @dependabot
- #53 Bump actions/setup-python from 4.2.0 to 5.1.0 @dependabot
- #55 Bump codecov/codecov-action from 4.3.1 to 4.4.0 @dependabot
- #57 Bump actions/checkout from 4.1.5 to 4.1.6 @dependabot
- #58 Bump actions/checkout from 4.1.5 to 4.1.6 @dependabot
- #59 Bump codecov/codecov-action from 4.4.0 to 4.4.1 @dependabot
- #51 Bump vweevers/additional-tags-action from 1.0.0 to 2.0.0 @dependabot
- #61 Bump actions/checkout from 4.1.6 to 4.1.7 @dependabot
- #62 Bump codecov/codecov-action from 4.4.1 to 4.5.0 @dependabot
- #66 Bump actions/upload-artifact from 4.3.3 to 4.3.4 @dependabot
- #64 Bump actions/checkout from 4.1.6 to 4.1.7 @dependabot
- #65 Bump actions/download-artifact from 4.1.7 to 4.1.8 @dependabot
- #67 Bump actions/setup-python from 5.1.0 to 5.1.1 @dependabot
- #68 Bump actions/upload-artifact from 4.3.4 to 4.3.5 @dependabot
- #69 Bump actions/upload-artifact from 4.3.5 to 4.3.6 @dependabot
- #70 Bump actions/setup-python from 5.1.1 to 5.2.0 @dependabot
- #71 Bump actions/upload-artifact from 4.3.6 to 4.4.0 @dependabot
- #73 Bump syrupy from 4.6.1 to 4.7.1 @dependabot
- #75 Bump pytest from 8.1.1 to 8.3.2 @dependabot
- #81 Bump pytest-asyncio from 0.23.6 to 0.24.0 @dependabot
- #77 Bump yarl from 1.9.4 to 1.11.0 @dependabot
- #78 Bump ruff from 0.4.2 to 0.6.4 @dependabot
- #79 Bump aiohttp from 3.9.5 to 3.10.5 @dependabot
- #76 Bump pre-commit from 3.7.1 to 3.8.0 @dependabot
- #80 Bump mypy from 1.10.0 to 1.11.2 @dependabot
- #84 Bump yarl from 1.11.0 to 1.11.1 @dependabot
- #83 Bump pytest from 8.3.2 to 8.3.3 @dependabot
- #82 Bump ruff from 0.6.4 to 0.6.5 @dependabot
- #85 Bump ruff from 0.6.5 to 0.6.7 @dependabot
- #86 Bump actions/checkout from 4.1.7 to 4.2.0 @dependabot
- #87 Bump yarl from 1.11.1 to 1.13.1 @dependabot
- #88 Bump ruff from 0.6.7 to 0.6.8 @dependabot
- #89 Bump codecov/codecov-action from 4.5.0 to 4.6.0 @dependabot
- #90 Bump pre-commit from 3.8.0 to 4.0.0 @dependabot
- #93 Bump ruff from 0.6.8 to 0.6.9 @dependabot
- #94 Bump pre-commit-hooks from 4.6.0 to 5.0.0 @dependabot
- #91 Bump syrupy from 4.7.1 to 4.7.2 @dependabot
- #92 Bump aiohttp from 3.10.5 to 3.10.9 @dependabot
- #96 Bump actions/checkout from 4.2.0 to 4.2.1 @dependabot
- #95 Bump actions/upload-artifact from 4.4.0 to 4.4.1 @dependabot
- #97 Bump actions/upload-artifact from 4.4.1 to 4.4.2 @dependabot
- #98 Bump actions/upload-artifact from 4.4.2 to 4.4.3 @dependabot
- #101 Bump yarl from 1.13.1 to 1.15.2 @dependabot
- #99 Bump pre-commit from 4.0.0 to 4.0.1 @dependabot
- #100 Bump aiohttp from 3.10.9 to 3.10.10 @dependabot
- #103 Bump ruff from 0.6.9 to 0.7.0 @dependabot
- #102 Bump yarl from 1.15.2 to 1.15.5 @dependabot
- #104 Bump mypy from 1.11.2 to 1.12.1 @dependabot
- #106 Bump actions/checkout from 4.2.1 to 4.2.2 @dependabot
- #107 Bump actions/setup-python from 5.2.0 to 5.3.0 @dependabot
- #110 Bump ruff from 0.7.0 to 0.7.1 @dependabot
- #108 Bump mypy from 1.12.1 to 1.13.0 @dependabot
- #109 Bump yarl from 1.15.5 to 1.16.0 @dependabot
- #112 Bump yarl from 1.16.0 to 1.17.1 @dependabot
- #111 Bump ruff from 0.7.1 to 0.7.2 @dependabot
- #113 Bump pytest-cov from 5.0.0 to 6.0.0 @dependabot
- #120 Bump pypa/gh-action-pypi-publish from 1.12.0 to 1.12.2 @dependabot
- #121 Bump ruff from 0.7.2 to 0.7.3 @dependabot
- #122 Bump codecov/codecov-action from 4.6.0 to 5.0.0 @dependabot
Full Changelog: v3.1.0...v4.0.0
v3.1.0
What's changed
✨ New features
🚀 Enhancements
- #39 Add config error exception to handle 422 status code @klaasnicolaas
- #40 Update to new error response json format @klaasnicolaas
- #42 Raise ForecastSolarConnectionError when service is down for maintenance @bj00rn
🧰 Maintenance
- #38 🎆Updates maintenance/license year to 2024 @klaasnicolaas
- #43 Ensure black formatting stability in workflow @bj00rn
- #44 Add PR labels workflow and update release-drafter @klaasnicolaas
Full Changelog: 3.0.0...v3.1.0
v3.0.0
What’s changed
🚨 Breaking changes
- #32 Replace wh_hours with wh_period array @klaasnicolaas
✨ New features
- #32 Replace wh_hours with wh_period array @klaasnicolaas
- #33 Add today's remaining production estimate @koleo9am
🐛 Bug fixes
🧰 Maintenance
- #36 🎆Updates maintenance/license year to 2023 @klaasnicolaas
v2.3.0
What’s changed
- #20 Hide dependencies in release-drafter @MartinHjelmare
- #23 Add catch HTTP status code 401 @K-Ko
- #27 Pin github actions @MartinHjelmare
✨ New features
- #28 Add horizon feature to the package @klaasnicolaas
- #29 Add damping morning/evening query param @klaasnicolaas
v2.2.0
What’s changed
✨ New features
- #17 Add optional inverter query param to estimate @jesserockz
🐛 Bug fixes
- #18 Fix exception for invalid api key @klaasnicolaas
🧰 Maintenance
- #19 🎆Updates maintenance/license year to 2022 @klaasnicolaas
v2.1.0
What’s changed
✨ New features
- #15 Add exception raise for bad gateway @klaasnicolaas
- #14 Add account type @klaasnicolaas
📚 Documentation
- #14 Add account type @klaasnicolaas
v2.0.0
🚨 Breaking changes
- #12 #13 This library now represents all data as-is from the API. It will no longer change timezones to UTC and it will no longer change all values from W to kW.
See the Estimate class for the latest properties and methods.
✨ New features
- #13 Added new helpers on the Estimate class to get sum of energy or power at a specific time. This replaces hardcoded properties
- #12 Rate limit information is now available on the SolarForecast object
- #9 New exceptions @klaasnicolaas
🐛 Bug fixes
- #8 🚑 Fix api key not in end URL @klaasnicolaas
- #10 🚑 Fix the max() on empty sequence error @klaasnicolaas