home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
69.73k stars 28.88k forks source link

Energy module reports negative consumption for EV charger when disconnected #119687

Open motionist opened 2 weeks ago

motionist commented 2 weeks ago

The problem

When I disconnect my charging point from my EV, the energy consumed prior to the disconnection is reported as negative consumption. This makes the actual energy consumption incorrect.

image image image

What version of Home Assistant Core has the issue?

System Information version | core-2024.6.2 -- | -- installation_type | Home Assistant OS dev | false hassio | true docker | true user | root virtualenv | false python_version | 3.12.2 os_name | Linux os_version | 6.6.29-haos arch | x86_64 timezone | Europe/Copenhagen config_dir | /config
Home Assistant Community Store GitHub API | ok -- | -- GitHub Content | ok GitHub Web | ok GitHub API Calls Remaining | 5000 Installed Version | 1.34.0 Stage | running Available Repositories | 1473 Downloaded Repositories | 117 HACS Data | ok
Home Assistant Cloud logged_in | true -- | -- subscription_expiration | 6 January 2025 at 01:00 relayer_connected | true relayer_region | eu-central-1 remote_enabled | true remote_connected | true alexa_enabled | true google_enabled | true remote_server | eu-central-1-10.ui.nabu.casa certificate_status | ready instance_id | 96d26b4300854042a1c3d108ded55ec4 can_reach_cert_server | ok can_reach_cloud_auth | ok can_reach_cloud | ok
Home Assistant Supervisor host_os | Home Assistant OS 12.3 -- | -- update_channel | stable supervisor_version | supervisor-2024.06.0 agent_version | 1.6.0 docker_version | 25.0.5 disk_total | 122.3 GB disk_used | 53.9 GB healthy | true supported | true host_connectivity | true supervisor_connectivity | true ntp_synchronized | true virtualization | kvm board | ova supervisor_api | ok version_api | ok installed_addons | Home Assistant Google Drive Backup (0.112.1), File editor (5.8.0), FTP (5.0.2), Duck DNS (1.17.0), AirCast (4.2.1), Grafana (10.0.0), InfluxDB (5.0.0), AdGuard Home (5.1.1), Advanced SSH & Web Terminal (18.0.0), AirSonos (4.2.1), AppDaemon (0.16.6), Docker Wyze Bridge (2.3.17), ESPHome (2022.3.1), Glances (0.21.1), Log Viewer (0.17.0), MariaDB (2.7.1), Mosquitto broker (6.4.1), Nginx Proxy Manager (1.0.1), Piper (1.5.0), Whisper (2.1.0), WireGuard (0.10.2), Zigbee2MQTT (1.38.0-1), Let's Encrypt (5.0.18), Mealie (v1.8.0), Studio Code Server (5.15.0), Tailscale (0.20.0), openWakeWord (1.10.0), Uptime Kuma (0.12.1), NetDaemon V4 (.NET 8) (24.23.0), MQTT Explorer (browser-1.0.3), Music Assistant BETA (2.1.0b5), Node-RED (17.0.13)
Dashboards dashboards | 6 -- | -- resources | 69 views | 51 mode | storage
Recorder oldest_recorder_run | 4 June 2024 at 02:30 -- | -- current_recorder_run | 14 June 2024 at 04:30 estimated_db_size | 4537.61 MiB database_engine | sqlite database_version | 3.44.2
Sonoff version | 3.7.3 (e240aaf) -- | -- cloud_online | 2 / 2 local_online | 2 / 2 debug | failed to load:
Spotify api_endpoint_reachable | ok -- | --

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

Energy and sensors provided by HACS go-E charger

Link to integration documentation on our website

https://www.home-assistant.io/docs/energy/electricity-grid/

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

mib1185 commented 2 weeks ago

Hi "HACS go-E charger" is a custom component, which is not maintained by the HA core project. Please report your issue to the maintainer or in the source repository of this custom component. Thx 👍