Skip to content

Cannot find battery discharge curve but sensors are present and have histroy #3685

Description

@thewookiewon

Describe the bug
The logfile is spammed (every 2 minutes) with error of Cannot find a battery discharge curve as either no sensors or lack of history, however the line before that confirms there are sensors and found 8days of history.

I have gone into each of the below sensors and confirmed there is over 1 months worth of history data

sensor.predbat_gecloud_SERIALNUMBER_battery_percent, number.predbat_gecloud_SERIALNUMBER_battery_discharge_power
sensor.predbat_gecloud_SERIALNUMBER_battery_power
predbat.status

Image

Expected behaviour
Automatically use history data to create the discharge curve

Predbat version

v8.34.16

Environment details

GE Hybrid 3.6 + 9 & 5.2kWh batteries
HA OS on RPi5
Using GECloud for data

Screenshots

Log file

53752 2026-03-28 17:20:49.179118: Warn: Cannot find battery discharge curve (no full rate discharge curve found for battery to empty), one of the required settings for soc_percent, discharge_rate, battery_power and predbat.status do not have history, check apps.yaml
53751 2026-03-28 17:20:49.131513: Looking for discharge curve, have found 8.0 days of history data, max days 8
53750 2026-03-28 17:20:48.831491: Looking for discharge curve with sensors sensor.predbat_gecloud_SERIALNUMBER_battery_percent, number.predbat_gecloud_SERIALNUMBER_battery_discharge_power, predbat.status and sensor.predbat_gecloud_SERIALNUMBER9_battery_power
 

Metadata

Metadata

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions