BottlecapDave / HomeAssistant-OctopusEnergy

Unofficial Home Assistant integration for interacting with Octopus Energy
https://bottlecapdave.github.io/HomeAssistant-OctopusEnergy/
MIT License
535 stars 50 forks source link

Export Name Removed From Current Rate Sensors #757

Closed strain10 closed 4 months ago

strain10 commented 4 months ago

Describe the bug

Latest release has removed "export" from rate sensors meaning that PredBat cannot find rates as it searches for this to assign export rates.

Reproduction steps

Export rates are not displayed.

Expected behaviour

Automations looking for "current export rate" not displaying.

Tariff Code

Agile Outgoing

Integration Version

10.0.1

Home Assistant Version

2024.2.1

Fresh Install?

After upgrading

Home Assistant Logs

No errors reported

Confirmation

BottlecapDave commented 4 months ago

Hello. Nothing has changed in how this is calculated, which means it is most likely the data from OE has changed. Please follow the instruction in the FAQ and post the diagnostics from your meter.

strain10 commented 4 months ago

Diagnostics from export meter, never done this before so hope I have put it in correct place.

"home_assistant": { "installation_type": "Home Assistant OS", "version": "2024.2.1", "dev": false, "hassio": true, "virtualenv": false, "python_version": "3.12.1", "docker": true, "arch": "aarch64", "timezone": "Europe/London", "os_name": "Linux", "os_version": "6.1.74-haos", "supervisor": "2024.01.1", "host_os": "Home Assistant OS 11.5", "docker_version": "24.0.7", "chassis": "embedded", "run_as_root": true }, "custom_components": { "givenergy_local": { "version": "0.0.1", "requirements": [ "aiofiles==0.8.0", "arrow==1.2.3", "crccheck==1.3.0", "pydantic==1.10.12", "aenum==3.1.12" ] }, "localtuya": { "version": "5.2.1", "requirements": [] }, "gecko": { "version": "0.1.9", "requirements": [ "geckolib==0.4.8" ] }, "octopus_intelligent": { "version": "1.0.0", "requirements": [ "gql==3.2.0" ] }, "tuiss2ha": { "version": "1.2.0", "requirements": [ "bleak>=0.20.2", "bleak-retry-connector>=3.2.1" ] }, "hacs": { "version": "1.34.0", "requirements": [ "aiogithubapi>=22.10.1" ] }, "robovac": { "version": "1", "requirements": [] }, "lightwave2": { "version": "3.5.20", "requirements": [ "lightwave2==0.8.23" ] }, "custom_templates": { "version": "v1.3.0", "requirements": [] }, "kia_uvo": { "version": "2.20.2", "requirements": [ "hyundai_kia_connect_api==3.15.1" ] }, "octopus_energy": { "version": "10.1.0", "requirements": [] }, "bosch": { "version": "0.24.6", "requirements": [ "bosch-thermostat-client==v0.24.6" ] }, "kia_connect": { "version": "0.1.5", "requirements": [] }, "solcast_solar": { "version": "4.0.14", "requirements": [ "aiohttp>=3.8.5", "datetime>=4.3", "isodate>=0.6.1" ] }, "myenergi": { "version": "0.0.24", "requirements": [ "pymyenergi==0.0.29" ] } }, "integration_manifest": { "domain": "octopus_energy", "name": "Octopus Energy", "codeowners": [ "@bottlecapdave" ], "config_flow": true, "dependencies": [ "repairs", "recorder" ], "documentation": "https://bottlecapdave.github.io/HomeAssistant-OctopusEnergy", "homekit": {}, "iot_class": "cloud_polling", "issue_tracker": "https://github.com/BottlecapDave/HomeAssistant-OctopusEnergy/issues", "ssdp": [], "version": "10.1.0", "zeroconf": [], "is_built_in": false }, "data": { "id": "A-A4E6D7CF", "octoplus_enrolled": true, "electricity_meter_points": [ { "mpan": "REDACTED", "meters": [ { "serial_number": "REDACTED", "is_export": false, "is_smart_meter": true, "device_id": null, "manufacturer": "Secure Meters Liberty 100", "model": null, "firmware": null } ], "agreements": [ { "start": "2023-09-06T23:00:00+00:00", "end": "2024-09-06T23:00:00+00:00", "tariff_code": "E-1R-AGILE-OUTGOING-19-05-13-N", "product_code": "AGILE-OUTGOING-19-05-13" } ] }, { "mpan": "REDACTED", "meters": [ { "serial_number": "REDACTED", "is_export": false, "is_smart_meter": true, "device_id": "REDACTED", "manufacturer": "1031 - Secure Meters UK", "model": "C0A10101", "firmware": "C0A10003" } ], "agreements": [ { "start": "2023-06-09T23:00:00+00:00", "end": null, "tariff_code": "E-1R-INTELLI-VAR-22-10-14-N", "product_code": "INTELLI-VAR-22-10-14" } ] } ], "gas_meter_points": [ { "mprn": "REDACTED", "meters": [ { "serial_number": "REDACTED", "consumption_units": "m\u00b3", "is_smart_meter": true, "device_id": "REDACTED", "manufacturer": "1031 - Secure Meters UK", "model": "C4A10501", "firmware": "C4A10003" } ], "agreements": [ { "start": "2023-11-30T00:00:00+00:00", "end": null, "tariff_code": "G-1R-VAR-22-11-01-N", "product_code": "VAR-22-11-01" } ] } ] } } ""

strain10 commented 4 months ago

Dave the entities have returned! 43min ago. I guess OE were having issues at their end. I will keep an eye on it over the next couple of days. Stephen