diff --git a/README.md b/README.md index 3ecbbff8..6363dda8 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # HA Solcast PV Solar Forecast Integration -[![hacs_badge](https://img.shields.io/badge/HACS-Custom-41BDF5.svg?style=for-the-badge)](https://github.com/hacs/integration) - + +[![hacs_badge](https://img.shields.io/badge/HACS-Default-orange.svg?style=for-the-badge)](https://github.com/custom-components/hacs) ![GitHub Release](https://img.shields.io/github/v/release/BJReplay/ha-solcast-solar?style=for-the-badge) [![hacs_downloads](https://img.shields.io/github/downloads/BJReplay/ha-solcast-solar/latest/total?style=for-the-badge)](https://github.com/BJReplay/ha-solcast-solar/releases/latest) ![GitHub License](https://img.shields.io/github/license/BJReplay/ha-solcast-solar?style=for-the-badge) @@ -22,8 +22,6 @@ This integration is not created by, maintained, endorsed nor approved by Solcast [](https://github.com/BJReplay/ha-solcast-solar/blob/main/.github/SCREENSHOTS/solar_production.png) -The integration is not currently in the HACS database, but this is planned. [This PR](https://github.com/hacs/default/pull/2535) is awaiting merge. It must be installed using a custom repository, which is a straightforward process, and detailed instructions are provided. - > [!NOTE] > > @@ -108,7 +106,7 @@ Copy the API key for use with this integration (See [Configuration](#Configurati *(Recommended installation method)* -Install as a Custom Repository using HACS. More info about HACS can be found [here](https://hacs.xyz/). If you haven't installed HACS yet, go do it first! +Install as a Default Repository using HACS. More info about HACS can be found [here](https://hacs.xyz/). If you haven't installed HACS yet, go do it first! The easiest way to install the integration is to click the button below to open this page in your Home Assistant HACS page (you will be prompted for your Home Assistant URL if you've never used this type of button before). @@ -869,6 +867,11 @@ If behaviour most odd is encountered, filled with exceptions occurring, then a q ## Changes +v4.3.1 +* Add HACS Default installation instructions by @BJReplay + +Full Changelog: https://github.com/BJReplay/ha-solcast-solar/compare/v4.3.0...v4.3.1 + v4.3.0 * Fix an issue when half-hourly breakdown is disabled but hourly is enabled by @autoSteve * Fix an issue with transitioning from granular to legacy dampening by @autoSteve diff --git a/custom_components/solcast_solar/manifest.json b/custom_components/solcast_solar/manifest.json index 08bc27f6..07e5be3f 100644 --- a/custom_components/solcast_solar/manifest.json +++ b/custom_components/solcast_solar/manifest.json @@ -10,5 +10,5 @@ "iot_class": "cloud_polling", "issue_tracker": "https://github.com/BJReplay/ha-solcast-solar/issues", "requirements": ["aiohttp>=3.8.5", "aiofiles>=23.2.0", "datetime>=4.3"], - "version": "4.3.0" + "version": "4.3.1" } diff --git a/custom_components/solcast_solar/solcastapi.py b/custom_components/solcast_solar/solcastapi.py index 51fc99de..2f36e021 100644 --- a/custom_components/solcast_solar/solcastapi.py +++ b/custom_components/solcast_solar/solcastapi.py @@ -1173,7 +1173,7 @@ async def load_data(filename, set_loaded=True) -> dict | None: data.pop("forecasts", None) data.pop("energy", None) json_version = 5 - # Alter "auto_updated" boolean flag to be the integer number of auto-update divisions, introduced v4.2.8. + # Alter "auto_updated" boolean flag to be the integer number of auto-update divisions, introduced v4.3.0. if json_version < 6: data["version"] = 6 data["auto_updated"] = 99999 if self.options.auto_update > 0 else 0