Repository navigation
Releases
Releases · prusuino/ha_swiss_solar_reference_price
Swiss Solar Reference Price 1.6.2
- The Home Assistant Marketplace lists the integration under Energy → Energy prices and Energy → Solar & batteries. The repository is marked as made for Switzerland. Nothing changes in how the integration works.
Swiss Solar Reference Price 1.6.1
- New icon and logo. The integration has a new icon and a new logo, now with a variant for the dark theme. They appear under Settings → Devices & services and in the Marketplace. The README gained a header image.
Swiss Solar Reference Price 1.6.0
- Version on the service card. The integration's version now appears on its service card under Settings → Devices & services, where the entities are listed.
- Repair notices. An unreachable or unreadable SFOE data file raises a notice under Settings → Repairs after three failed refreshes; it withdraws itself. No change to entities or configuration.
Swiss Solar Reference Price 1.5.0
- Quality scale Bronze. The integration keeps its coordinator in the config entry's runtime data, the README gained removal instructions and a quality-scale section, and the manifest declares the bronze tier. A test suite (CSV reader with quarter ordering and error cases, config flow with range check, single instance and options) runs on every push. No change to entities or configuration.
v1.4.1
- Fixed: the diagnostics download could contain private values. The entry's unique id went out unredacted: depending on the integration it holds the coordinates of the entry or, for a VKF entry of Swiss Hail Protection, the device serial. The text of the last error could also repeat a request URL. The unique id, the entry title and the entry's name and location fields are now redacted, and only the type of the last error is reported. If you have shared a diagnostics file from the previous version, consider it exposed.
v1.4.0
- New: diagnostics download. The entry menu under Settings → Devices & services offers Download diagnostics: the entry's configuration, what was last fetched and the current state of its entities, with coordinates, credentials and other personal values redacted and long lists cut. Attach it to an issue report.
v1.3.0
- Changing the minimum price or the guarantee-of-origin surcharge — through the two number entities or the integration's Configure dialog — now takes effect immediately: the feed-in price is recalculated on the spot, without reloading the integration and without downloading the SFOE CSV again. Previously every change reloaded all entities (briefly
unavailable) and re-fetched the CSV. - The setup and Configure dialogs now enforce the same 0–50 Rp/kWh range as the two number entities; an out-of-range value is rejected instead of being stored.
- The data update is now bound explicitly to the config entry, which avoids a deprecation warning newer Home Assistant versions log at startup.
- README: the entity table now lists the four diagnostic sensors with their entity ids and attributes. SECURITY.md names the exact endpoint the integration talks to.
- The entity ids suggested for newly created entities now end in a per-entry discriminator — the last four characters of the config entry id, in lower case:
sensor.solar_reference_price_<id>,sensor.solar_reference_price_feedin_price_<id>,number.solar_reference_price_min_price_<id>,number.solar_reference_price_goo_surcharge_<id>andsensor.solar_reference_price_diagnostics_{host,path,quarter,last_checked}_<id>(for examplesensor.solar_reference_price_feedin_price_7f3a). Existing installs keep their current ids: Home Assistant applies a suggested id only when an entity is first created, so entities that already exist are not renamed and no automation, template or dashboard needs to change. The new form applies to fresh setups (or when an entity is removed from the entity registry and recreated). - Existing entity ids and unique ids are unchanged; there is nothing to do after updating.
v1.2.0
- The feed-in price sensor and the two adjustable price parameters now carry the integration prefix in their entity ids:
sensor.solar_reference_price_feedin_price,number.solar_reference_price_min_priceandnumber.solar_reference_price_goo_surcharge(previouslysensor.feedin_price,number.min_priceandnumber.goo_surcharge). The old ids were generic enough to collide with entities of other integrations. Existing installs keep their current ids: Home Assistant applies the id suggested by an integration only when an entity is first created, so entities that already exist are not renamed and no automation, template or dashboard needs to change. The new ids apply to fresh setups (or when an entity is removed from the entity registry and recreated).
v1.1.1
- Added an English translation file. Without it, English — the default language — fell back to raw translation keys in the setup and options dialogs.
- The minimum supported Home Assistant version is now declared correctly as 2024.12.0. The options dialog has always required it, but hacs.json still claimed 2024.1.0.
- The CHF/kWh conversion of the latest quarter now runs inside the same guard as the rest of the CSV parsing, so any future change to the SFOE file is reported as a data problem instead of an unhandled error.
v1.1.0
What's Changed
New diagnostic sensors, shown under the device's Diagnostics section and localized in all four languages (DE/EN/FR/IT):
- Source (Host) — host the quarterly price CSV is fetched from, with the full URL as an attribute
- Path — path of the CSV file on the source host
- Quarter/Year — the most recent quarter the published data covers, so a stale source becomes visible
- Last Checked — timestamp of the last successful fetch and parse
Full Changelog: v1.0.0...v1.1.0