Exception raised since todays update.
When I try and view plan I get the message 'No plan available, Message plan data is loading...'
Predbat version v8.40.8
Environment details
- Fronius Gen24 plus 10Kw byd battery
- Standard HAOS installer
- Anything else?
Screenshots and logfiles

[predbat.log](https://github.com/user-attachments/files/28941257/predbat.log)
[predbat_debug.yaml.txt](https://github.com/user-attachments/files/28941258/predbat_debug.yaml.txt)
I have been having trouble with the occasionaly extremely enormous load in the plan prior to this update, which i have attributed to the occasional unknown appearing in the data. These figures appearing in a single half hour load are generally many multiple of the full days load.
The sensor I using for load is 👍
- name: "Fronius Daily Consumption"
unit_of_measurement: "kWh"
device_class: energy
state_class: total_increasing
state: >
{% set from_grid = states('sensor.fronius_daily_from_grid') %}
{% set generation = states('sensor.fronius_daily_generation') %}
{% set to_grid = states('sensor.fronius_daily_to_grid') %}
{% if from_grid not in ['unknown', 'unavailable', None] and
generation not in ['unknown', 'unavailable', None] and
to_grid not in ['unknown', 'unavailable', None] %}
{% set from_grid_wh = from_grid | float(0) %}
{% set generation_wh = generation | float(0) %}
{% set to_grid_wh = to_grid | float(0) %}
{# Raw calculation in Watt-hours #}
{% set consumption_wh = from_grid_wh + generation_wh - to_grid_wh %}
{# Convert to kWh for Predbat #}
{% set consumption_kwh = (consumption_wh / 1000) | round(2) %}
{{ [consumption_kwh, 0] | max }}
{% else %}
{# Use this.state or fallback to previous state to prevent dropping to 0 #}
{% if this.state not in ['unknown', 'unavailable', None] %}
{{ this.state }}
{% else %}
{{ states('sensor.fronius_daily_consumption') | default(0) }}
{% endif %}
{% endif %}
Im only evaluating Predbat currently as Im running the system based on a set of tarriff and time of day rules I have set . Im hoping the once I get predbat going smoothly it will provide a more optimal management plan for our inverter.
Thanks for your good work to date.
Cheers Noel
Exception raised since todays update.
When I try and view plan I get the message 'No plan available, Message plan data is loading...'
Predbat version v8.40.8
Environment details
Screenshots and logfiles
I have been having trouble with the occasionaly extremely enormous load in the plan prior to this update, which i have attributed to the occasional unknown appearing in the data. These figures appearing in a single half hour load are generally many multiple of the full days load.
The sensor I using for load is 👍
- name: "Fronius Daily Consumption"
unit_of_measurement: "kWh"
device_class: energy
state_class: total_increasing
state: >
{% set from_grid = states('sensor.fronius_daily_from_grid') %}
{% set generation = states('sensor.fronius_daily_generation') %}
{% set to_grid = states('sensor.fronius_daily_to_grid') %}
Im only evaluating Predbat currently as Im running the system based on a set of tarriff and time of day rules I have set . Im hoping the once I get predbat going smoothly it will provide a more optimal management plan for our inverter.
Thanks for your good work to date.
Cheers Noel