Describe the bug
Status is displayed as completed with error when there is no export rate when export sensor is commented out.
i.e.
#metric_octopus_export: 're:(sensor.(octopus_energy_|)electricity_[0-9a-z]+_[0-9a-z]+_export_current_rate)'
Expected behaviour
If export metric_octopus_export: is commented out, and no other export rate variables are set, then predbat should ignore and assume zero and not error
Predbat version
v8.43.1
Screenshots
Log file
2026-07-02 19:05:48.821578: Warning: No export rate data provided 2026-07-02 19:05:48.843963: Warn: record_status Error: No export rate data provided
apps.yaml (1).txt
predbat_debug.yaml.txt
predbat.log
Describe the bug
Status is displayed as completed with error when there is no export rate when export sensor is commented out.
i.e.
#metric_octopus_export: 're:(sensor.(octopus_energy_|)electricity_[0-9a-z]+_[0-9a-z]+_export_current_rate)'Expected behaviour
If export metric_octopus_export: is commented out, and no other export rate variables are set, then predbat should ignore and assume zero and not error
Predbat version
v8.43.1
Screenshots
Log file
2026-07-02 19:05:48.821578: Warning: No export rate data provided 2026-07-02 19:05:48.843963: Warn: record_status Error: No export rate data providedapps.yaml (1).txt
predbat_debug.yaml.txt
predbat.log