Skip to content

Load Remaining Today Does Not Match Planned Values #4496

Description

@nbullus

Describe the bug

The predbat.load_energy_predicted and predbat.load_energy_adjusted sensors both have a today_remaining attribute that calculates the remaining load (up untill midnight).

If the in-day adjustments is turned 'on', then the remaining adjusted load will differ to the remaining predicted load. If in-day adjustments is turned 'off', both sensors track the same remaining load as you would expect.

However, the total accumulated half-hourly load values reported in the plan differs to what the aforementioned sensors state is the remaining load for today.

Note: This has been working previously after a fix due to a previous reported issue on the chat. Looks like the same issue has resurfaced but I have no further details on what was fixed.

Expected behaviour

The today_remaining attribute should match the load that the plan is currently working too.

Predbat version

8.48.0 (Beta)

Environment details

  • GE AIO
  • Standard HAOS installer

Screenshots

In-day adjustment is currently turned off and the today_remaining attribute is set to 5.23 kWh on both sensors.

Image

However, the total planned remaining load is 5.52 kWh which is currently 0.29 kWh out.

Image

Log file

predbat-5.log

predbat_plan-4.html

apps.yaml-3.txt

Predbat debug yaml file

predbat_debug.yaml-4.txt

Metadata

Metadata

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions