From f9ac28f84e3e8821270caf108d44d302f3bf9129 Mon Sep 17 00:00:00 2001 From: Trefor Southwell Date: Sun, 8 Feb 2026 17:13:32 +0000 Subject: [PATCH 1/7] Copyright date --- apps/predbat/alertfeed.py | 2 +- apps/predbat/axle.py | 2 +- apps/predbat/carbon.py | 2 +- apps/predbat/compare.py | 2 +- apps/predbat/component_base.py | 2 +- apps/predbat/components.py | 2 +- apps/predbat/config.py | 2 +- apps/predbat/db_engine.py | 2 +- apps/predbat/db_manager.py | 2 +- apps/predbat/download.py | 2 +- apps/predbat/execute.py | 2 +- apps/predbat/fetch.py | 2 +- apps/predbat/fox.py | 2 +- apps/predbat/gecloud.py | 2 +- apps/predbat/ha.py | 2 +- apps/predbat/inverter.py | 2 +- apps/predbat/load_ml_component.py | 2 +- apps/predbat/load_predictor.py | 2 +- apps/predbat/octopus.py | 2 +- apps/predbat/ohme.py | 2 +- apps/predbat/output.py | 2 +- apps/predbat/plan.py | 2 +- apps/predbat/plugin_system.py | 2 +- apps/predbat/predbat.py | 2 +- apps/predbat/predheat.py | 2 +- apps/predbat/prediction.py | 2 +- apps/predbat/solax.py | 2 +- apps/predbat/solcast.py | 2 +- apps/predbat/temperature.py | 2 +- apps/predbat/tests/test_add_now_to_octopus_slot.py | 2 +- apps/predbat/tests/test_alert_feed.py | 2 +- apps/predbat/tests/test_axle.py | 2 +- apps/predbat/tests/test_balance_inverters.py | 2 +- apps/predbat/tests/test_basic_rates.py | 2 +- apps/predbat/tests/test_car_charging_smart.py | 2 +- apps/predbat/tests/test_carbon.py | 2 +- apps/predbat/tests/test_component_base.py | 2 +- apps/predbat/tests/test_compute_metric.py | 2 +- apps/predbat/tests/test_cumulative.py | 2 +- apps/predbat/tests/test_db_manager.py | 2 +- apps/predbat/tests/test_download.py | 2 +- apps/predbat/tests/test_dynamic_load.py | 2 +- apps/predbat/tests/test_energydataservice.py | 2 +- apps/predbat/tests/test_execute.py | 2 +- apps/predbat/tests/test_fetch_config_options.py | 2 +- apps/predbat/tests/test_fetch_octopus_rates.py | 2 +- apps/predbat/tests/test_fetch_tariffs.py | 2 +- apps/predbat/tests/test_fetch_url_cached.py | 2 +- apps/predbat/tests/test_find_battery_size.py | 2 +- apps/predbat/tests/test_find_charge_curve.py | 2 +- apps/predbat/tests/test_find_charge_rate.py | 2 +- apps/predbat/tests/test_format_time_ago.py | 2 +- apps/predbat/tests/test_fox_api.py | 2 +- apps/predbat/tests/test_ge_cloud.py | 2 +- apps/predbat/tests/test_hahistory.py | 2 +- apps/predbat/tests/test_hainterface_common.py | 2 +- apps/predbat/tests/test_hainterface_state.py | 2 +- apps/predbat/tests/test_history_attribute.py | 2 +- apps/predbat/tests/test_iboost.py | 2 +- apps/predbat/tests/test_infra.py | 2 +- apps/predbat/tests/test_integer_config.py | 2 +- apps/predbat/tests/test_inverter.py | 2 +- apps/predbat/tests/test_load_free_slot.py | 2 +- apps/predbat/tests/test_load_ml.py | 2 +- apps/predbat/tests/test_manual_api.py | 2 +- apps/predbat/tests/test_manual_select.py | 2 +- apps/predbat/tests/test_manual_soc.py | 2 +- apps/predbat/tests/test_manual_times.py | 2 +- apps/predbat/tests/test_minute_data.py | 2 +- apps/predbat/tests/test_minute_data_import_export.py | 2 +- apps/predbat/tests/test_minute_data_state.py | 2 +- apps/predbat/tests/test_model.py | 2 +- apps/predbat/tests/test_multi_inverter.py | 2 +- apps/predbat/tests/test_nordpool.py | 2 +- apps/predbat/tests/test_octopus_free.py | 2 +- apps/predbat/tests/test_octopus_slots.py | 2 +- apps/predbat/tests/test_octopus_url.py | 2 +- apps/predbat/tests/test_optimise_all_windows.py | 2 +- apps/predbat/tests/test_optimise_levels.py | 2 +- apps/predbat/tests/test_override_time.py | 2 +- apps/predbat/tests/test_perf.py | 2 +- apps/predbat/tests/test_plugin_startup.py | 2 +- apps/predbat/tests/test_previous_days_modal.py | 2 +- apps/predbat/tests/test_prune_today.py | 2 +- apps/predbat/tests/test_rate_add_io_slots.py | 2 +- apps/predbat/tests/test_rate_replicate_missing_slots.py | 2 +- apps/predbat/tests/test_saving_session.py | 2 +- apps/predbat/tests/test_secrets.py | 2 +- apps/predbat/tests/test_single_debug.py | 2 +- apps/predbat/tests/test_solax.py | 2 +- apps/predbat/tests/test_solcast.py | 2 +- apps/predbat/tests/test_solis.py | 2 +- apps/predbat/tests/test_temperature.py | 2 +- apps/predbat/tests/test_units.py | 2 +- apps/predbat/tests/test_web_if.py | 2 +- apps/predbat/tests/test_window.py | 2 +- apps/predbat/tests/test_window2minutes.py | 2 +- apps/predbat/unit_test.py | 2 +- apps/predbat/userinterface.py | 2 +- apps/predbat/utils.py | 2 +- apps/predbat/web.py | 2 +- apps/predbat/web_helper.py | 2 +- apps/predbat/web_mcp.py | 2 +- 103 files changed, 103 insertions(+), 103 deletions(-) diff --git a/apps/predbat/alertfeed.py b/apps/predbat/alertfeed.py index 25366ae64..10413a83e 100644 --- a/apps/predbat/alertfeed.py +++ b/apps/predbat/alertfeed.py @@ -1,6 +1,6 @@ # ----------------------------------------------------------------------------- # Predbat Home Battery System -# Copyright Trefor Southwell 2024 - All Rights Reserved +# Copyright Trefor Southwell 2026 - All Rights Reserved # This application maybe used for personal use only and not for commercial use # ----------------------------------------------------------------------------- # fmt off diff --git a/apps/predbat/axle.py b/apps/predbat/axle.py index e24da25b8..a1274c06e 100644 --- a/apps/predbat/axle.py +++ b/apps/predbat/axle.py @@ -1,6 +1,6 @@ # ----------------------------------------------------------------------------- # Predbat Home Battery System -# Copyright Trefor Southwell 2025 - All Rights Reserved +# Copyright Trefor Southwell 2026 - All Rights Reserved # This application maybe used for personal use only and not for commercial use # ----------------------------------------------------------------------------- # Axle Energy Virtual Power Plant (VPP) API library diff --git a/apps/predbat/carbon.py b/apps/predbat/carbon.py index 5e0922eca..11e61568d 100644 --- a/apps/predbat/carbon.py +++ b/apps/predbat/carbon.py @@ -1,6 +1,6 @@ # ----------------------------------------------------------------------------- # Predbat Home Battery System -# Copyright Trefor Southwell 2024 - All Rights Reserved +# Copyright Trefor Southwell 2026 - All Rights Reserved # This application maybe used for personal use only and not for commercial use # ----------------------------------------------------------------------------- # UK Carbon Intensity library diff --git a/apps/predbat/compare.py b/apps/predbat/compare.py index f7ce995df..01427464f 100644 --- a/apps/predbat/compare.py +++ b/apps/predbat/compare.py @@ -1,6 +1,6 @@ # ----------------------------------------------------------------------------- # Predbat Home Battery System -# Copyright Trefor Southwell 2025 - All Rights Reserved +# Copyright Trefor Southwell 2026 - All Rights Reserved # This application maybe used for personal use only and not for commercial use # ----------------------------------------------------------------------------- diff --git a/apps/predbat/component_base.py b/apps/predbat/component_base.py index 752663b69..8c7c8ae43 100644 --- a/apps/predbat/component_base.py +++ b/apps/predbat/component_base.py @@ -1,6 +1,6 @@ # ----------------------------------------------------------------------------- # Predbat Home Battery System -# Copyright Trefor Southwell 2025 - All Rights Reserved +# Copyright Trefor Southwell 2026 - All Rights Reserved # This application maybe used for personal use only and not for commercial use # ----------------------------------------------------------------------------- # fmt off diff --git a/apps/predbat/components.py b/apps/predbat/components.py index 110e30d52..844fb3240 100644 --- a/apps/predbat/components.py +++ b/apps/predbat/components.py @@ -1,6 +1,6 @@ # ----------------------------------------------------------------------------- # Predbat Home Battery System -# Copyright Trefor Southwell 2025 - All Rights Reserved +# Copyright Trefor Southwell 2026 - All Rights Reserved # This application maybe used for personal use only and not for commercial use # ----------------------------------------------------------------------------- # fmt off diff --git a/apps/predbat/config.py b/apps/predbat/config.py index 2d2bf4fd9..fa7d9076e 100644 --- a/apps/predbat/config.py +++ b/apps/predbat/config.py @@ -1,6 +1,6 @@ # ----------------------------------------------------------------------------- # Predbat Home Battery System -# Copyright Trefor Southwell 2024 - All Rights Reserved +# Copyright Trefor Southwell 2026 - All Rights Reserved # This application maybe used for personal use only and not for commercial use # ----------------------------------------------------------------------------- # fmt off diff --git a/apps/predbat/db_engine.py b/apps/predbat/db_engine.py index e173b2923..0e38f5ff2 100644 --- a/apps/predbat/db_engine.py +++ b/apps/predbat/db_engine.py @@ -1,6 +1,6 @@ # ----------------------------------------------------------------------------- # Predbat Home Battery System -# Copyright Trefor Southwell 2024 - All Rights Reserved +# Copyright Trefor Southwell 2026 - All Rights Reserved # This application maybe used for personal use only and not for commercial use # ----------------------------------------------------------------------------- # Database Engine for Predbat Home Battery System diff --git a/apps/predbat/db_manager.py b/apps/predbat/db_manager.py index 95bf8b1ca..a6f663438 100644 --- a/apps/predbat/db_manager.py +++ b/apps/predbat/db_manager.py @@ -1,6 +1,6 @@ # ----------------------------------------------------------------------------- # Predbat Home Battery System -# Copyright Trefor Southwell 2024 - All Rights Reserved +# Copyright Trefor Southwell 2026 - All Rights Reserved # This application maybe used for personal use only and not for commercial use # ----------------------------------------------------------------------------- # Database Manager for Predbat Home Battery System diff --git a/apps/predbat/download.py b/apps/predbat/download.py index d9b5e32f0..7cd8a119f 100644 --- a/apps/predbat/download.py +++ b/apps/predbat/download.py @@ -1,6 +1,6 @@ # ----------------------------------------------------------------------------- # Predbat Home Battery System -# Copyright Trefor Southwell 2024 - All Rights Reserved +# Copyright Trefor Southwell 2026 - All Rights Reserved # This application maybe used for personal use only and not for commercial use # ----------------------------------------------------------------------------- # fmt off diff --git a/apps/predbat/execute.py b/apps/predbat/execute.py index 1f38df7bd..4c0552a40 100644 --- a/apps/predbat/execute.py +++ b/apps/predbat/execute.py @@ -1,6 +1,6 @@ # ----------------------------------------------------------------------------- # Predbat Home Battery System -# Copyright Trefor Southwell 2024 - All Rights Reserved +# Copyright Trefor Southwell 2026 - All Rights Reserved # This application maybe used for personal use only and not for commercial use # ----------------------------------------------------------------------------- # fmt off diff --git a/apps/predbat/fetch.py b/apps/predbat/fetch.py index 86517286a..6b18e8ec8 100644 --- a/apps/predbat/fetch.py +++ b/apps/predbat/fetch.py @@ -1,6 +1,6 @@ # ----------------------------------------------------------------------------- # Predbat Home Battery System -# Copyright Trefor Southwell 2024 - All Rights Reserved +# Copyright Trefor Southwell 2026 - All Rights Reserved # This application maybe used for personal use only and not for commercial use # ----------------------------------------------------------------------------- # fmt off diff --git a/apps/predbat/fox.py b/apps/predbat/fox.py index a9dec775c..deb7e4f2f 100644 --- a/apps/predbat/fox.py +++ b/apps/predbat/fox.py @@ -1,6 +1,6 @@ # ----------------------------------------------------------------------------- # Predbat Home Battery System -# Copyright Trefor Southwell 2024 - All Rights Reserved +# Copyright Trefor Southwell 2026 - All Rights Reserved # This application maybe used for personal use only and not for commercial use # ----------------------------------------------------------------------------- # Fox API Library diff --git a/apps/predbat/gecloud.py b/apps/predbat/gecloud.py index e8297c310..d0b3fc6cd 100644 --- a/apps/predbat/gecloud.py +++ b/apps/predbat/gecloud.py @@ -1,6 +1,6 @@ # ----------------------------------------------------------------------------- # Predbat Home Battery System -# Copyright Trefor Southwell 2024 - All Rights Reserved +# Copyright Trefor Southwell 2026 - All Rights Reserved # This application maybe used for personal use only and not for commercial use # ----------------------------------------------------------------------------- diff --git a/apps/predbat/ha.py b/apps/predbat/ha.py index b31cb5c74..0d9afcf16 100644 --- a/apps/predbat/ha.py +++ b/apps/predbat/ha.py @@ -1,6 +1,6 @@ # ----------------------------------------------------------------------------- # Predbat Home Battery System -# Copyright Trefor Southwell 2024 - All Rights Reserved +# Copyright Trefor Southwell 2026 - All Rights Reserved # This application maybe used for personal use only and not for commercial use # ----------------------------------------------------------------------------- # fmt off diff --git a/apps/predbat/inverter.py b/apps/predbat/inverter.py index 5396f9443..1c222c153 100644 --- a/apps/predbat/inverter.py +++ b/apps/predbat/inverter.py @@ -1,6 +1,6 @@ # ----------------------------------------------------------------------------- # Predbat Home Battery System -# Copyright Trefor Southwell 2024 - All Rights Reserved +# Copyright Trefor Southwell 2026 - All Rights Reserved # This application maybe used for personal use only and not for commercial use # ----------------------------------------------------------------------------- # fmt off diff --git a/apps/predbat/load_ml_component.py b/apps/predbat/load_ml_component.py index b3f66d9d9..33e70d9f8 100644 --- a/apps/predbat/load_ml_component.py +++ b/apps/predbat/load_ml_component.py @@ -1,6 +1,6 @@ # ----------------------------------------------------------------------------- # Predbat Home Battery System -# Copyright Trefor Southwell 2025 - All Rights Reserved +# Copyright Trefor Southwell 2026 - All Rights Reserved # This application maybe used for personal use only and not for commercial use # ----------------------------------------------------------------------------- # ML Load Forecaster Component - ComponentBase wrapper for LoadPredictor diff --git a/apps/predbat/load_predictor.py b/apps/predbat/load_predictor.py index 7ff27014a..bdbb67d9d 100644 --- a/apps/predbat/load_predictor.py +++ b/apps/predbat/load_predictor.py @@ -1,6 +1,6 @@ # ----------------------------------------------------------------------------- # Predbat Home Battery System -# Copyright Trefor Southwell 2025 - All Rights Reserved +# Copyright Trefor Southwell 2026 - All Rights Reserved # This application maybe used for personal use only and not for commercial use # ----------------------------------------------------------------------------- # Lightweight ML Load Predictor - NumPy-only MLP implementation diff --git a/apps/predbat/octopus.py b/apps/predbat/octopus.py index 6525528da..86e706006 100644 --- a/apps/predbat/octopus.py +++ b/apps/predbat/octopus.py @@ -1,6 +1,6 @@ # ----------------------------------------------------------------------------- # Predbat Home Battery System -# Copyright Trefor Southwell 2024 - All Rights Reserved +# Copyright Trefor Southwell 2026 - All Rights Reserved # This application maybe used for personal use only and not for commercial use # ----------------------------------------------------------------------------- diff --git a/apps/predbat/ohme.py b/apps/predbat/ohme.py index 4a51b0ca2..31c988bc5 100644 --- a/apps/predbat/ohme.py +++ b/apps/predbat/ohme.py @@ -1,6 +1,6 @@ # ----------------------------------------------------------------------------- # Predbat Home Battery System -# Copyright Trefor Southwell 2024 - All Rights Reserved +# Copyright Trefor Southwell 2026 - All Rights Reserved # This application maybe used for personal use only and not for commercial use # ----------------------------------------------------------------------------- # Ohme API library. diff --git a/apps/predbat/output.py b/apps/predbat/output.py index f4e13035d..ca4221f03 100644 --- a/apps/predbat/output.py +++ b/apps/predbat/output.py @@ -1,6 +1,6 @@ # ----------------------------------------------------------------------------- # Predbat Home Battery System -# Copyright Trefor Southwell 2024 - All Rights Reserved +# Copyright Trefor Southwell 2026 - All Rights Reserved # This application maybe used for personal use only and not for commercial use # ----------------------------------------------------------------------------- # fmt off diff --git a/apps/predbat/plan.py b/apps/predbat/plan.py index fcf652b96..87ee811ac 100644 --- a/apps/predbat/plan.py +++ b/apps/predbat/plan.py @@ -1,6 +1,6 @@ # ----------------------------------------------------------------------------- # Predbat Home Battery System -# Copyright Trefor Southwell 2024 - All Rights Reserved +# Copyright Trefor Southwell 2026 - All Rights Reserved # This application maybe used for personal use only and not for commercial use # ----------------------------------------------------------------------------- # fmt off diff --git a/apps/predbat/plugin_system.py b/apps/predbat/plugin_system.py index 53a8040a0..f7a530fdc 100644 --- a/apps/predbat/plugin_system.py +++ b/apps/predbat/plugin_system.py @@ -1,6 +1,6 @@ # ----------------------------------------------------------------------------- # Predbat Home Battery System - Plugin System -# Copyright Trefor Southwell 2024 - All Rights Reserved +# Copyright Trefor Southwell 2026 - All Rights Reserved # This application maybe used for personal use only and not for commercial use # ----------------------------------------------------------------------------- diff --git a/apps/predbat/predbat.py b/apps/predbat/predbat.py index 55816897d..f7f7f9524 100644 --- a/apps/predbat/predbat.py +++ b/apps/predbat/predbat.py @@ -1,6 +1,6 @@ # ----------------------------------------------------------------------------- # Predbat Home Battery System -# Copyright Trefor Southwell 2025 - All Rights Reserved +# Copyright Trefor Southwell 2026 - All Rights Reserved # This application maybe used for personal use only and not for commercial use # ----------------------------------------------------------------------------- # fmt off diff --git a/apps/predbat/predheat.py b/apps/predbat/predheat.py index b18cb6801..6e65a5aa6 100644 --- a/apps/predbat/predheat.py +++ b/apps/predbat/predheat.py @@ -1,6 +1,6 @@ # ----------------------------------------------------------------------------- # Predbat Home Battery System -# Copyright Trefor Southwell 2024 - All Rights Reserved +# Copyright Trefor Southwell 2026 - All Rights Reserved # This application maybe used for personal use only and not for commercial use # ----------------------------------------------------------------------------- # fmt off diff --git a/apps/predbat/prediction.py b/apps/predbat/prediction.py index 9ba2f8f43..69ce41c5b 100644 --- a/apps/predbat/prediction.py +++ b/apps/predbat/prediction.py @@ -1,6 +1,6 @@ # ----------------------------------------------------------------------------- # Predbat Home Battery System -# Copyright Trefor Southwell 2024 - All Rights Reserved +# Copyright Trefor Southwell 2026 - All Rights Reserved # This application maybe used for personal use only and not for commercial use # ----------------------------------------------------------------------------- # fmt off diff --git a/apps/predbat/solax.py b/apps/predbat/solax.py index 9e50b2e37..f58fb945c 100644 --- a/apps/predbat/solax.py +++ b/apps/predbat/solax.py @@ -1,6 +1,6 @@ # ----------------------------------------------------------------------------- # Predbat Home Battery System -# Copyright Trefor Southwell 2025 - All Rights Reserved +# Copyright Trefor Southwell 2026 - All Rights Reserved # This application maybe used for personal use only and not for commercial use # ----------------------------------------------------------------------------- # fmt: off diff --git a/apps/predbat/solcast.py b/apps/predbat/solcast.py index 659d11250..21e3b05a2 100644 --- a/apps/predbat/solcast.py +++ b/apps/predbat/solcast.py @@ -1,6 +1,6 @@ # ----------------------------------------------------------------------------- # Predbat Home Battery System -# Copyright Trefor Southwell 2024 - All Rights Reserved +# Copyright Trefor Southwell 2026 - All Rights Reserved # This application maybe used for personal use only and not for commercial use # ----------------------------------------------------------------------------- # fmt off diff --git a/apps/predbat/temperature.py b/apps/predbat/temperature.py index 6e53c2364..12adb2930 100644 --- a/apps/predbat/temperature.py +++ b/apps/predbat/temperature.py @@ -1,6 +1,6 @@ # ----------------------------------------------------------------------------- # Predbat Home Battery System -# Copyright Trefor Southwell 2025 - All Rights Reserved +# Copyright Trefor Southwell 2026 - All Rights Reserved # This application maybe used for personal use only and not for commercial use # ----------------------------------------------------------------------------- # fmt: off diff --git a/apps/predbat/tests/test_add_now_to_octopus_slot.py b/apps/predbat/tests/test_add_now_to_octopus_slot.py index 3d7831f59..35e585c5d 100644 --- a/apps/predbat/tests/test_add_now_to_octopus_slot.py +++ b/apps/predbat/tests/test_add_now_to_octopus_slot.py @@ -1,6 +1,6 @@ # ----------------------------------------------------------------------------- # Predbat Home Battery System -# Copyright Trefor Southwell 2025 - All Rights Reserved +# Copyright Trefor Southwell 2026 - All Rights Reserved # This application maybe used for personal use only and not for commercial use # ----------------------------------------------------------------------------- # fmt off diff --git a/apps/predbat/tests/test_alert_feed.py b/apps/predbat/tests/test_alert_feed.py index 58724f006..7c644c222 100644 --- a/apps/predbat/tests/test_alert_feed.py +++ b/apps/predbat/tests/test_alert_feed.py @@ -1,6 +1,6 @@ # ----------------------------------------------------------------------------- # Predbat Home Battery System -# Copyright Trefor Southwell 2024 - All Rights Reserved +# Copyright Trefor Southwell 2026 - All Rights Reserved # This application maybe used for personal use only and not for commercial use # ----------------------------------------------------------------------------- # fmt off diff --git a/apps/predbat/tests/test_axle.py b/apps/predbat/tests/test_axle.py index a1932b6b2..2b17a4bf3 100644 --- a/apps/predbat/tests/test_axle.py +++ b/apps/predbat/tests/test_axle.py @@ -1,6 +1,6 @@ # ----------------------------------------------------------------------------- # Predbat Home Battery System -# Copyright Trefor Southwell 2025 - All Rights Reserved +# Copyright Trefor Southwell 2026 - All Rights Reserved # This application maybe used for personal use only and not for commercial use # ----------------------------------------------------------------------------- # fmt off diff --git a/apps/predbat/tests/test_balance_inverters.py b/apps/predbat/tests/test_balance_inverters.py index 573f63329..05b9d1e93 100644 --- a/apps/predbat/tests/test_balance_inverters.py +++ b/apps/predbat/tests/test_balance_inverters.py @@ -1,6 +1,6 @@ # ----------------------------------------------------------------------------- # Predbat Home Battery System -# Copyright Trefor Southwell 2025 - All Rights Reserved +# Copyright Trefor Southwell 2026 - All Rights Reserved # This application maybe used for personal use only and not for commercial use # ----------------------------------------------------------------------------- # fmt off diff --git a/apps/predbat/tests/test_basic_rates.py b/apps/predbat/tests/test_basic_rates.py index 8ae8030c1..b9f562891 100644 --- a/apps/predbat/tests/test_basic_rates.py +++ b/apps/predbat/tests/test_basic_rates.py @@ -1,6 +1,6 @@ # ----------------------------------------------------------------------------- # Predbat Home Battery System -# Copyright Trefor Southwell 2024 - All Rights Reserved +# Copyright Trefor Southwell 2026 - All Rights Reserved # This application maybe used for personal use only and not for commercial use # ----------------------------------------------------------------------------- # fmt off diff --git a/apps/predbat/tests/test_car_charging_smart.py b/apps/predbat/tests/test_car_charging_smart.py index 96549b8de..bfeff13f1 100644 --- a/apps/predbat/tests/test_car_charging_smart.py +++ b/apps/predbat/tests/test_car_charging_smart.py @@ -1,6 +1,6 @@ # ----------------------------------------------------------------------------- # Predbat Home Battery System -# Copyright Trefor Southwell 2024 - All Rights Reserved +# Copyright Trefor Southwell 2026 - All Rights Reserved # This application maybe used for personal use only and not for commercial use # ----------------------------------------------------------------------------- # fmt off diff --git a/apps/predbat/tests/test_carbon.py b/apps/predbat/tests/test_carbon.py index 40ebf1ff3..1dcf4cb34 100644 --- a/apps/predbat/tests/test_carbon.py +++ b/apps/predbat/tests/test_carbon.py @@ -1,6 +1,6 @@ # ----------------------------------------------------------------------------- # Predbat Home Battery System -# Copyright Trefor Southwell 2025 - All Rights Reserved +# Copyright Trefor Southwell 2026 - All Rights Reserved # This application maybe used for personal use only and not for commercial use # ----------------------------------------------------------------------------- # fmt: off diff --git a/apps/predbat/tests/test_component_base.py b/apps/predbat/tests/test_component_base.py index 5458b643c..1f2f35045 100644 --- a/apps/predbat/tests/test_component_base.py +++ b/apps/predbat/tests/test_component_base.py @@ -1,6 +1,6 @@ # ----------------------------------------------------------------------------- # Predbat Home Battery System -# Copyright Trefor Southwell 2025 - All Rights Reserved +# Copyright Trefor Southwell 2026 - All Rights Reserved # This application maybe used for personal use only and not for commercial use # ----------------------------------------------------------------------------- # fmt off diff --git a/apps/predbat/tests/test_compute_metric.py b/apps/predbat/tests/test_compute_metric.py index f301f74af..2d12ffe02 100644 --- a/apps/predbat/tests/test_compute_metric.py +++ b/apps/predbat/tests/test_compute_metric.py @@ -1,6 +1,6 @@ # ----------------------------------------------------------------------------- # Predbat Home Battery System -# Copyright Trefor Southwell 2025 - All Rights Reserved +# Copyright Trefor Southwell 2026 - All Rights Reserved # This application maybe used for personal use only and not for commercial use # ----------------------------------------------------------------------------- # fmt off diff --git a/apps/predbat/tests/test_cumulative.py b/apps/predbat/tests/test_cumulative.py index f6c577008..8c6123aec 100644 --- a/apps/predbat/tests/test_cumulative.py +++ b/apps/predbat/tests/test_cumulative.py @@ -1,6 +1,6 @@ # ----------------------------------------------------------------------------- # Predbat Home Battery System -# Copyright Trefor Southwell 2025 - All Rights Reserved +# Copyright Trefor Southwell 2026 - All Rights Reserved # This application maybe used for personal use only and not for commercial use # ----------------------------------------------------------------------------- # fmt off diff --git a/apps/predbat/tests/test_db_manager.py b/apps/predbat/tests/test_db_manager.py index edd00d5ca..fe56ae7c6 100644 --- a/apps/predbat/tests/test_db_manager.py +++ b/apps/predbat/tests/test_db_manager.py @@ -1,6 +1,6 @@ # ----------------------------------------------------------------------------- # Predbat Home Battery System -# Copyright Trefor Southwell 2025 - All Rights Reserved +# Copyright Trefor Southwell 2026 - All Rights Reserved # This application maybe used for personal use only and not for commercial use # ----------------------------------------------------------------------------- # fmt off diff --git a/apps/predbat/tests/test_download.py b/apps/predbat/tests/test_download.py index 15c51b945..288b1d492 100644 --- a/apps/predbat/tests/test_download.py +++ b/apps/predbat/tests/test_download.py @@ -1,6 +1,6 @@ # ----------------------------------------------------------------------------- # Predbat Home Battery System -# Copyright Trefor Southwell 2025 - All Rights Reserved +# Copyright Trefor Southwell 2026 - All Rights Reserved # This application maybe used for personal use only and not for commercial use # ----------------------------------------------------------------------------- # fmt off diff --git a/apps/predbat/tests/test_dynamic_load.py b/apps/predbat/tests/test_dynamic_load.py index 50eef42f4..3526609a3 100644 --- a/apps/predbat/tests/test_dynamic_load.py +++ b/apps/predbat/tests/test_dynamic_load.py @@ -1,6 +1,6 @@ # ----------------------------------------------------------------------------- # Predbat Home Battery System -# Copyright Trefor Southwell 2025 - All Rights Reserved +# Copyright Trefor Southwell 2026 - All Rights Reserved # This application maybe used for personal use only and not for commercial use # ----------------------------------------------------------------------------- # fmt off diff --git a/apps/predbat/tests/test_energydataservice.py b/apps/predbat/tests/test_energydataservice.py index 6f44e62f0..8fbf92e6d 100644 --- a/apps/predbat/tests/test_energydataservice.py +++ b/apps/predbat/tests/test_energydataservice.py @@ -1,6 +1,6 @@ # ----------------------------------------------------------------------------- # Predbat Home Battery System -# Copyright Trefor Southwell 2024 - All Rights Reserved +# Copyright Trefor Southwell 2026 - All Rights Reserved # This application maybe used for personal use only and not for commercial use # ----------------------------------------------------------------------------- # fmt off diff --git a/apps/predbat/tests/test_execute.py b/apps/predbat/tests/test_execute.py index 10512502d..6353182f4 100644 --- a/apps/predbat/tests/test_execute.py +++ b/apps/predbat/tests/test_execute.py @@ -1,6 +1,6 @@ # ----------------------------------------------------------------------------- # Predbat Home Battery System -# Copyright Trefor Southwell 2024 - All Rights Reserved +# Copyright Trefor Southwell 2026 - All Rights Reserved # This application maybe used for personal use only and not for commercial use # ----------------------------------------------------------------------------- # fmt off diff --git a/apps/predbat/tests/test_fetch_config_options.py b/apps/predbat/tests/test_fetch_config_options.py index bb651dd67..0d2fcec9b 100644 --- a/apps/predbat/tests/test_fetch_config_options.py +++ b/apps/predbat/tests/test_fetch_config_options.py @@ -1,6 +1,6 @@ # ----------------------------------------------------------------------------- # Predbat Home Battery System -# Copyright Trefor Southwell 2025 - All Rights Reserved +# Copyright Trefor Southwell 2026 - All Rights Reserved # This application maybe used for personal use only and not for commercial use # ----------------------------------------------------------------------------- # fmt off diff --git a/apps/predbat/tests/test_fetch_octopus_rates.py b/apps/predbat/tests/test_fetch_octopus_rates.py index bce2cfa36..099c27217 100644 --- a/apps/predbat/tests/test_fetch_octopus_rates.py +++ b/apps/predbat/tests/test_fetch_octopus_rates.py @@ -1,6 +1,6 @@ # ----------------------------------------------------------------------------- # Predbat Home Battery System -# Copyright Trefor Southwell 2025 - All Rights Reserved +# Copyright Trefor Southwell 2026 - All Rights Reserved # This application maybe used for personal use only and not for commercial use # ----------------------------------------------------------------------------- # fmt off diff --git a/apps/predbat/tests/test_fetch_tariffs.py b/apps/predbat/tests/test_fetch_tariffs.py index 190456e2f..4af44c8ee 100644 --- a/apps/predbat/tests/test_fetch_tariffs.py +++ b/apps/predbat/tests/test_fetch_tariffs.py @@ -1,6 +1,6 @@ # ----------------------------------------------------------------------------- # Predbat Home Battery System -# Copyright Trefor Southwell 2025 - All Rights Reserved +# Copyright Trefor Southwell 2026 - All Rights Reserved # This application maybe used for personal use only and not for commercial use # ----------------------------------------------------------------------------- # fmt off diff --git a/apps/predbat/tests/test_fetch_url_cached.py b/apps/predbat/tests/test_fetch_url_cached.py index b0fa8c813..56ab86920 100644 --- a/apps/predbat/tests/test_fetch_url_cached.py +++ b/apps/predbat/tests/test_fetch_url_cached.py @@ -1,6 +1,6 @@ # ----------------------------------------------------------------------------- # Predbat Home Battery System -# Copyright Trefor Southwell 2025 - All Rights Reserved +# Copyright Trefor Southwell 2026 - All Rights Reserved # This application maybe used for personal use only and not for commercial use # ----------------------------------------------------------------------------- # fmt off diff --git a/apps/predbat/tests/test_find_battery_size.py b/apps/predbat/tests/test_find_battery_size.py index 9ceda49e6..83426daf1 100644 --- a/apps/predbat/tests/test_find_battery_size.py +++ b/apps/predbat/tests/test_find_battery_size.py @@ -1,6 +1,6 @@ # ----------------------------------------------------------------------------- # Predbat Home Battery System -# Copyright Trefor Southwell 2025 - All Rights Reserved +# Copyright Trefor Southwell 2026 - All Rights Reserved # This application maybe used for personal use only and not for commercial use # ----------------------------------------------------------------------------- # fmt off diff --git a/apps/predbat/tests/test_find_charge_curve.py b/apps/predbat/tests/test_find_charge_curve.py index d44b78296..a546c591e 100644 --- a/apps/predbat/tests/test_find_charge_curve.py +++ b/apps/predbat/tests/test_find_charge_curve.py @@ -1,6 +1,6 @@ # ----------------------------------------------------------------------------- # Predbat Home Battery System -# Copyright Trefor Southwell 2025 - All Rights Reserved +# Copyright Trefor Southwell 2026 - All Rights Reserved # This application maybe used for personal use only and not for commercial use # ----------------------------------------------------------------------------- # fmt off diff --git a/apps/predbat/tests/test_find_charge_rate.py b/apps/predbat/tests/test_find_charge_rate.py index 5c5245039..03f9a5392 100644 --- a/apps/predbat/tests/test_find_charge_rate.py +++ b/apps/predbat/tests/test_find_charge_rate.py @@ -1,6 +1,6 @@ # ----------------------------------------------------------------------------- # Predbat Home Battery System -# Copyright Trefor Southwell 2025 - All Rights Reserved +# Copyright Trefor Southwell 2026 - All Rights Reserved # This application maybe used for personal use only and not for commercial use # ----------------------------------------------------------------------------- # fmt off diff --git a/apps/predbat/tests/test_format_time_ago.py b/apps/predbat/tests/test_format_time_ago.py index e4639aa80..7c4e9b78c 100644 --- a/apps/predbat/tests/test_format_time_ago.py +++ b/apps/predbat/tests/test_format_time_ago.py @@ -1,6 +1,6 @@ # ----------------------------------------------------------------------------- # Predbat Home Battery System -# Copyright Trefor Southwell 2025 - All Rights Reserved +# Copyright Trefor Southwell 2026 - All Rights Reserved # This application maybe used for personal use only and not for commercial use # ----------------------------------------------------------------------------- # fmt off diff --git a/apps/predbat/tests/test_fox_api.py b/apps/predbat/tests/test_fox_api.py index 0f506bf9c..baab5e922 100644 --- a/apps/predbat/tests/test_fox_api.py +++ b/apps/predbat/tests/test_fox_api.py @@ -1,6 +1,6 @@ # ----------------------------------------------------------------------------- # Predbat Home Battery System -# Copyright Trefor Southwell 2025 - All Rights Reserved +# Copyright Trefor Southwell 2026 - All Rights Reserved # This application maybe used for personal use only and not for commercial use # ----------------------------------------------------------------------------- # Test Fox API functions diff --git a/apps/predbat/tests/test_ge_cloud.py b/apps/predbat/tests/test_ge_cloud.py index 47ec28674..5e9e620f3 100644 --- a/apps/predbat/tests/test_ge_cloud.py +++ b/apps/predbat/tests/test_ge_cloud.py @@ -1,6 +1,6 @@ # ----------------------------------------------------------------------------- # Predbat Home Battery System -# Copyright Trefor Southwell 2024 - All Rights Reserved +# Copyright Trefor Southwell 2026 - All Rights Reserved # This application maybe used for personal use only and not for commercial use # ----------------------------------------------------------------------------- # fmt off diff --git a/apps/predbat/tests/test_hahistory.py b/apps/predbat/tests/test_hahistory.py index 314991390..32ebb7a97 100644 --- a/apps/predbat/tests/test_hahistory.py +++ b/apps/predbat/tests/test_hahistory.py @@ -1,6 +1,6 @@ # ----------------------------------------------------------------------------- # Predbat Home Battery System -# Copyright Trefor Southwell 2025 - All Rights Reserved +# Copyright Trefor Southwell 2026 - All Rights Reserved # This application maybe used for personal use only and not for commercial use # ----------------------------------------------------------------------------- # fmt off diff --git a/apps/predbat/tests/test_hainterface_common.py b/apps/predbat/tests/test_hainterface_common.py index 127312199..8e1564ea1 100644 --- a/apps/predbat/tests/test_hainterface_common.py +++ b/apps/predbat/tests/test_hainterface_common.py @@ -1,6 +1,6 @@ # ----------------------------------------------------------------------------- # Predbat Home Battery System -# Copyright Trefor Southwell 2025 - All Rights Reserved +# Copyright Trefor Southwell 2026 - All Rights Reserved # This application maybe used for personal use only and not for commercial use # ----------------------------------------------------------------------------- # fmt off diff --git a/apps/predbat/tests/test_hainterface_state.py b/apps/predbat/tests/test_hainterface_state.py index ca12d59d7..a9633f8ab 100644 --- a/apps/predbat/tests/test_hainterface_state.py +++ b/apps/predbat/tests/test_hainterface_state.py @@ -1,6 +1,6 @@ # ----------------------------------------------------------------------------- # Predbat Home Battery System -# Copyright Trefor Southwell 2025 - All Rights Reserved +# Copyright Trefor Southwell 2026 - All Rights Reserved # This application maybe used for personal use only and not for commercial use # ----------------------------------------------------------------------------- # fmt off diff --git a/apps/predbat/tests/test_history_attribute.py b/apps/predbat/tests/test_history_attribute.py index 373627a97..db6686a3b 100644 --- a/apps/predbat/tests/test_history_attribute.py +++ b/apps/predbat/tests/test_history_attribute.py @@ -1,6 +1,6 @@ # ----------------------------------------------------------------------------- # Predbat Home Battery System -# Copyright Trefor Southwell 2024 - All Rights Reserved +# Copyright Trefor Southwell 2026 - All Rights Reserved # This application maybe used for personal use only and not for commercial use # ----------------------------------------------------------------------------- # fmt off diff --git a/apps/predbat/tests/test_iboost.py b/apps/predbat/tests/test_iboost.py index 0036b7b6b..344ead7d3 100644 --- a/apps/predbat/tests/test_iboost.py +++ b/apps/predbat/tests/test_iboost.py @@ -1,6 +1,6 @@ # ----------------------------------------------------------------------------- # Predbat Home Battery System -# Copyright Trefor Southwell 2024 - All Rights Reserved +# Copyright Trefor Southwell 2026 - All Rights Reserved # This application maybe used for personal use only and not for commercial use # ----------------------------------------------------------------------------- # fmt off diff --git a/apps/predbat/tests/test_infra.py b/apps/predbat/tests/test_infra.py index 78addd8f7..690b4b4a0 100644 --- a/apps/predbat/tests/test_infra.py +++ b/apps/predbat/tests/test_infra.py @@ -1,6 +1,6 @@ # ----------------------------------------------------------------------------- # Predbat Home Battery System -# Copyright Trefor Southwell 2025 - All Rights Reserved +# Copyright Trefor Southwell 2026 - All Rights Reserved # This application maybe used for personal use only and not for commercial use # ----------------------------------------------------------------------------- # fmt off diff --git a/apps/predbat/tests/test_integer_config.py b/apps/predbat/tests/test_integer_config.py index cd4cfc077..f64fa6bc9 100644 --- a/apps/predbat/tests/test_integer_config.py +++ b/apps/predbat/tests/test_integer_config.py @@ -1,6 +1,6 @@ # ----------------------------------------------------------------------------- # Predbat Home Battery System -# Copyright Trefor Southwell 2024 - All Rights Reserved +# Copyright Trefor Southwell 2026 - All Rights Reserved # This application maybe used for personal use only and not for commercial use # ----------------------------------------------------------------------------- # fmt off diff --git a/apps/predbat/tests/test_inverter.py b/apps/predbat/tests/test_inverter.py index 3352f1045..3a1a7eeb3 100644 --- a/apps/predbat/tests/test_inverter.py +++ b/apps/predbat/tests/test_inverter.py @@ -1,6 +1,6 @@ # ----------------------------------------------------------------------------- # Predbat Home Battery System -# Copyright Trefor Southwell 2024 - All Rights Reserved +# Copyright Trefor Southwell 2026 - All Rights Reserved # This application maybe used for personal use only and not for commercial use # ----------------------------------------------------------------------------- # fmt off diff --git a/apps/predbat/tests/test_load_free_slot.py b/apps/predbat/tests/test_load_free_slot.py index ead14c8b8..aa0266ca1 100644 --- a/apps/predbat/tests/test_load_free_slot.py +++ b/apps/predbat/tests/test_load_free_slot.py @@ -1,6 +1,6 @@ # ----------------------------------------------------------------------------- # Predbat Home Battery System -# Copyright Trefor Southwell 2025 - All Rights Reserved +# Copyright Trefor Southwell 2026 - All Rights Reserved # This application maybe used for personal use only and not for commercial use # ----------------------------------------------------------------------------- # fmt off diff --git a/apps/predbat/tests/test_load_ml.py b/apps/predbat/tests/test_load_ml.py index 1bd633ea3..b333cb63f 100644 --- a/apps/predbat/tests/test_load_ml.py +++ b/apps/predbat/tests/test_load_ml.py @@ -1,6 +1,6 @@ # ----------------------------------------------------------------------------- # Predbat Home Battery System -# Copyright Trefor Southwell 2025 - All Rights Reserved +# Copyright Trefor Southwell 2026 - All Rights Reserved # This application maybe used for personal use only and not for commercial use # ----------------------------------------------------------------------------- # fmt: off diff --git a/apps/predbat/tests/test_manual_api.py b/apps/predbat/tests/test_manual_api.py index d61973b65..d3bd70530 100644 --- a/apps/predbat/tests/test_manual_api.py +++ b/apps/predbat/tests/test_manual_api.py @@ -1,6 +1,6 @@ # ----------------------------------------------------------------------------- # Predbat Home Battery System -# Copyright Trefor Southwell 2025 - All Rights Reserved +# Copyright Trefor Southwell 2026 - All Rights Reserved # This application maybe used for personal use only and not for commercial use # ----------------------------------------------------------------------------- # fmt off diff --git a/apps/predbat/tests/test_manual_select.py b/apps/predbat/tests/test_manual_select.py index ccc10a4e9..dbe340910 100644 --- a/apps/predbat/tests/test_manual_select.py +++ b/apps/predbat/tests/test_manual_select.py @@ -1,6 +1,6 @@ # ----------------------------------------------------------------------------- # Predbat Home Battery System -# Copyright Trefor Southwell 2025 - All Rights Reserved +# Copyright Trefor Southwell 2026 - All Rights Reserved # This application maybe used for personal use only and not for commercial use # ----------------------------------------------------------------------------- # fmt off diff --git a/apps/predbat/tests/test_manual_soc.py b/apps/predbat/tests/test_manual_soc.py index c93e2b6c0..decc47868 100644 --- a/apps/predbat/tests/test_manual_soc.py +++ b/apps/predbat/tests/test_manual_soc.py @@ -1,6 +1,6 @@ # ----------------------------------------------------------------------------- # Predbat Home Battery System -# Copyright Trefor Southwell 2025 - All Rights Reserved +# Copyright Trefor Southwell 2026 - All Rights Reserved # This application maybe used for personal use only and not for commercial use # ----------------------------------------------------------------------------- # fmt off diff --git a/apps/predbat/tests/test_manual_times.py b/apps/predbat/tests/test_manual_times.py index 8ba9f0f43..da75c6af1 100644 --- a/apps/predbat/tests/test_manual_times.py +++ b/apps/predbat/tests/test_manual_times.py @@ -1,6 +1,6 @@ # ----------------------------------------------------------------------------- # Predbat Home Battery System -# Copyright Trefor Southwell 2025 - All Rights Reserved +# Copyright Trefor Southwell 2026 - All Rights Reserved # This application maybe used for personal use only and not for commercial use # ----------------------------------------------------------------------------- # fmt: off diff --git a/apps/predbat/tests/test_minute_data.py b/apps/predbat/tests/test_minute_data.py index fc2ae583d..965fcfb60 100644 --- a/apps/predbat/tests/test_minute_data.py +++ b/apps/predbat/tests/test_minute_data.py @@ -1,6 +1,6 @@ # ----------------------------------------------------------------------------- # Predbat Home Battery System -# Copyright Trefor Southwell 2025 - All Rights Reserved +# Copyright Trefor Southwell 2026 - All Rights Reserved # This application maybe used for personal use only and not for commercial use # ----------------------------------------------------------------------------- # fmt off diff --git a/apps/predbat/tests/test_minute_data_import_export.py b/apps/predbat/tests/test_minute_data_import_export.py index abe65cdfa..c8fc52a66 100644 --- a/apps/predbat/tests/test_minute_data_import_export.py +++ b/apps/predbat/tests/test_minute_data_import_export.py @@ -1,6 +1,6 @@ # ----------------------------------------------------------------------------- # Predbat Home Battery System -# Copyright Trefor Southwell 2025 - All Rights Reserved +# Copyright Trefor Southwell 2026 - All Rights Reserved # This application maybe used for personal use only and not for commercial use # ----------------------------------------------------------------------------- # fmt off diff --git a/apps/predbat/tests/test_minute_data_state.py b/apps/predbat/tests/test_minute_data_state.py index 18b3b4b4a..945fbc16a 100644 --- a/apps/predbat/tests/test_minute_data_state.py +++ b/apps/predbat/tests/test_minute_data_state.py @@ -1,6 +1,6 @@ # ----------------------------------------------------------------------------- # Predbat Home Battery System -# Copyright Trefor Southwell 2025 - All Rights Reserved +# Copyright Trefor Southwell 2026 - All Rights Reserved # This application maybe used for personal use only and not for commercial use # ----------------------------------------------------------------------------- # fmt off diff --git a/apps/predbat/tests/test_model.py b/apps/predbat/tests/test_model.py index ae7a2d6ea..98a6b78c0 100644 --- a/apps/predbat/tests/test_model.py +++ b/apps/predbat/tests/test_model.py @@ -1,6 +1,6 @@ # ----------------------------------------------------------------------------- # Predbat Home Battery System -# Copyright Trefor Southwell 2024 - All Rights Reserved +# Copyright Trefor Southwell 2026 - All Rights Reserved # This application maybe used for personal use only and not for commercial use # ----------------------------------------------------------------------------- # fmt off diff --git a/apps/predbat/tests/test_multi_inverter.py b/apps/predbat/tests/test_multi_inverter.py index 67a6a4595..306702298 100644 --- a/apps/predbat/tests/test_multi_inverter.py +++ b/apps/predbat/tests/test_multi_inverter.py @@ -1,6 +1,6 @@ # ----------------------------------------------------------------------------- # Predbat Home Battery System -# Copyright Trefor Southwell 2024 - All Rights Reserved +# Copyright Trefor Southwell 2026 - All Rights Reserved # This application maybe used for personal use only and not for commercial use # ----------------------------------------------------------------------------- # fmt off diff --git a/apps/predbat/tests/test_nordpool.py b/apps/predbat/tests/test_nordpool.py index 6306fe298..054861ccd 100644 --- a/apps/predbat/tests/test_nordpool.py +++ b/apps/predbat/tests/test_nordpool.py @@ -1,6 +1,6 @@ # ----------------------------------------------------------------------------- # Predbat Home Battery System -# Copyright Trefor Southwell 2024 - All Rights Reserved +# Copyright Trefor Southwell 2026 - All Rights Reserved # This application maybe used for personal use only and not for commercial use # ----------------------------------------------------------------------------- # fmt off diff --git a/apps/predbat/tests/test_octopus_free.py b/apps/predbat/tests/test_octopus_free.py index 7d850d269..cb288b279 100644 --- a/apps/predbat/tests/test_octopus_free.py +++ b/apps/predbat/tests/test_octopus_free.py @@ -1,6 +1,6 @@ # ----------------------------------------------------------------------------- # Predbat Home Battery System -# Copyright Trefor Southwell 2025 - All Rights Reserved +# Copyright Trefor Southwell 2026 - All Rights Reserved # This application maybe used for personal use only and not for commercial use # ----------------------------------------------------------------------------- # fmt off diff --git a/apps/predbat/tests/test_octopus_slots.py b/apps/predbat/tests/test_octopus_slots.py index 9f6e190f7..9d3e55669 100644 --- a/apps/predbat/tests/test_octopus_slots.py +++ b/apps/predbat/tests/test_octopus_slots.py @@ -1,6 +1,6 @@ # ----------------------------------------------------------------------------- # Predbat Home Battery System -# Copyright Trefor Southwell 2024 - All Rights Reserved +# Copyright Trefor Southwell 2026 - All Rights Reserved # This application maybe used for personal use only and not for commercial use # ----------------------------------------------------------------------------- # fmt off diff --git a/apps/predbat/tests/test_octopus_url.py b/apps/predbat/tests/test_octopus_url.py index 76c6f45e1..1fdadcbda 100644 --- a/apps/predbat/tests/test_octopus_url.py +++ b/apps/predbat/tests/test_octopus_url.py @@ -1,6 +1,6 @@ # ----------------------------------------------------------------------------- # Predbat Home Battery System -# Copyright Trefor Southwell 2025 - All Rights Reserved +# Copyright Trefor Southwell 2026 - All Rights Reserved # This application maybe used for personal use only and not for commercial use # ----------------------------------------------------------------------------- # fmt off diff --git a/apps/predbat/tests/test_optimise_all_windows.py b/apps/predbat/tests/test_optimise_all_windows.py index c38e95bbc..ea71021bc 100644 --- a/apps/predbat/tests/test_optimise_all_windows.py +++ b/apps/predbat/tests/test_optimise_all_windows.py @@ -1,6 +1,6 @@ # ----------------------------------------------------------------------------- # Predbat Home Battery System -# Copyright Trefor Southwell 2024 - All Rights Reserved +# Copyright Trefor Southwell 2026 - All Rights Reserved # This application maybe used for personal use only and not for commercial use # ----------------------------------------------------------------------------- # fmt off diff --git a/apps/predbat/tests/test_optimise_levels.py b/apps/predbat/tests/test_optimise_levels.py index 8be99c9e5..2ebfff83c 100644 --- a/apps/predbat/tests/test_optimise_levels.py +++ b/apps/predbat/tests/test_optimise_levels.py @@ -1,6 +1,6 @@ # ----------------------------------------------------------------------------- # Predbat Home Battery System -# Copyright Trefor Southwell 2024 - All Rights Reserved +# Copyright Trefor Southwell 2026 - All Rights Reserved # This application maybe used for personal use only and not for commercial use # ----------------------------------------------------------------------------- # fmt off diff --git a/apps/predbat/tests/test_override_time.py b/apps/predbat/tests/test_override_time.py index 7a054c1bf..bf9428327 100644 --- a/apps/predbat/tests/test_override_time.py +++ b/apps/predbat/tests/test_override_time.py @@ -1,6 +1,6 @@ # ----------------------------------------------------------------------------- # Predbat Home Battery System -# Copyright Trefor Southwell 2025 - All Rights Reserved +# Copyright Trefor Southwell 2026 - All Rights Reserved # This application maybe used for personal use only and not for commercial use # ----------------------------------------------------------------------------- # fmt off diff --git a/apps/predbat/tests/test_perf.py b/apps/predbat/tests/test_perf.py index df9d03f5b..41e48cbfd 100644 --- a/apps/predbat/tests/test_perf.py +++ b/apps/predbat/tests/test_perf.py @@ -1,6 +1,6 @@ # ----------------------------------------------------------------------------- # Predbat Home Battery System -# Copyright Trefor Southwell 2024 - All Rights Reserved +# Copyright Trefor Southwell 2026 - All Rights Reserved # This application maybe used for personal use only and not for commercial use # ----------------------------------------------------------------------------- # fmt off diff --git a/apps/predbat/tests/test_plugin_startup.py b/apps/predbat/tests/test_plugin_startup.py index 57654e103..ea7731be9 100644 --- a/apps/predbat/tests/test_plugin_startup.py +++ b/apps/predbat/tests/test_plugin_startup.py @@ -1,6 +1,6 @@ # ----------------------------------------------------------------------------- # Predbat Home Battery System -# Copyright Trefor Southwell 2024 - All Rights Reserved +# Copyright Trefor Southwell 2026 - All Rights Reserved # This application maybe used for personal use only and not for commercial use # ----------------------------------------------------------------------------- # fmt off diff --git a/apps/predbat/tests/test_previous_days_modal.py b/apps/predbat/tests/test_previous_days_modal.py index e57ba2dd7..5cb9d597b 100644 --- a/apps/predbat/tests/test_previous_days_modal.py +++ b/apps/predbat/tests/test_previous_days_modal.py @@ -1,6 +1,6 @@ # ----------------------------------------------------------------------------- # Predbat Home Battery System -# Copyright Trefor Southwell 2025 - All Rights Reserved +# Copyright Trefor Southwell 2026 - All Rights Reserved # This application maybe used for personal use only and not for commercial use # ----------------------------------------------------------------------------- # fmt off diff --git a/apps/predbat/tests/test_prune_today.py b/apps/predbat/tests/test_prune_today.py index de87750a0..96a9209b6 100644 --- a/apps/predbat/tests/test_prune_today.py +++ b/apps/predbat/tests/test_prune_today.py @@ -1,6 +1,6 @@ # ----------------------------------------------------------------------------- # Predbat Home Battery System -# Copyright Trefor Southwell 2025 - All Rights Reserved +# Copyright Trefor Southwell 2026 - All Rights Reserved # This application maybe used for personal use only and not for commercial use # ----------------------------------------------------------------------------- # fmt off diff --git a/apps/predbat/tests/test_rate_add_io_slots.py b/apps/predbat/tests/test_rate_add_io_slots.py index 99c63c680..2e4b7e45f 100644 --- a/apps/predbat/tests/test_rate_add_io_slots.py +++ b/apps/predbat/tests/test_rate_add_io_slots.py @@ -1,6 +1,6 @@ # ----------------------------------------------------------------------------- # Predbat Home Battery System -# Copyright Trefor Southwell 2025 - All Rights Reserved +# Copyright Trefor Southwell 2026 - All Rights Reserved # This application maybe used for personal use only and not for commercial use # ----------------------------------------------------------------------------- # fmt off diff --git a/apps/predbat/tests/test_rate_replicate_missing_slots.py b/apps/predbat/tests/test_rate_replicate_missing_slots.py index b6e91cbd4..b02520525 100644 --- a/apps/predbat/tests/test_rate_replicate_missing_slots.py +++ b/apps/predbat/tests/test_rate_replicate_missing_slots.py @@ -1,6 +1,6 @@ # ----------------------------------------------------------------------------- # Predbat Home Battery System -# Copyright Trefor Southwell 2025 - All Rights Reserved +# Copyright Trefor Southwell 2026 - All Rights Reserved # This application maybe used for personal use only and not for commercial use # ----------------------------------------------------------------------------- # fmt: off diff --git a/apps/predbat/tests/test_saving_session.py b/apps/predbat/tests/test_saving_session.py index 360c795a0..bfe4acac5 100644 --- a/apps/predbat/tests/test_saving_session.py +++ b/apps/predbat/tests/test_saving_session.py @@ -1,6 +1,6 @@ # ----------------------------------------------------------------------------- # Predbat Home Battery System -# Copyright Trefor Southwell 2024 - All Rights Reserved +# Copyright Trefor Southwell 2026 - All Rights Reserved # This application maybe used for personal use only and not for commercial use # ----------------------------------------------------------------------------- # fmt off diff --git a/apps/predbat/tests/test_secrets.py b/apps/predbat/tests/test_secrets.py index d0e86c4f5..9183080ca 100644 --- a/apps/predbat/tests/test_secrets.py +++ b/apps/predbat/tests/test_secrets.py @@ -1,6 +1,6 @@ # ----------------------------------------------------------------------------- # Predbat Home Battery System -# Copyright Trefor Southwell 2025 - All Rights Reserved +# Copyright Trefor Southwell 2026 - All Rights Reserved # This application maybe used for personal use only and not for commercial use # ----------------------------------------------------------------------------- # fmt off diff --git a/apps/predbat/tests/test_single_debug.py b/apps/predbat/tests/test_single_debug.py index 9a3e5192c..a768c0ecd 100644 --- a/apps/predbat/tests/test_single_debug.py +++ b/apps/predbat/tests/test_single_debug.py @@ -1,6 +1,6 @@ # ----------------------------------------------------------------------------- # Predbat Home Battery System -# Copyright Trefor Southwell 2024 - All Rights Reserved +# Copyright Trefor Southwell 2026 - All Rights Reserved # This application maybe used for personal use only and not for commercial use # ----------------------------------------------------------------------------- # fmt off diff --git a/apps/predbat/tests/test_solax.py b/apps/predbat/tests/test_solax.py index 5b5e8dc5b..9449a15e1 100644 --- a/apps/predbat/tests/test_solax.py +++ b/apps/predbat/tests/test_solax.py @@ -1,6 +1,6 @@ # ----------------------------------------------------------------------------- # Predbat Home Battery System -# Copyright Trefor Southwell 2025 - All Rights Reserved +# Copyright Trefor Southwell 2026 - All Rights Reserved # This application maybe used for personal use only and not for commercial use # ----------------------------------------------------------------------------- # fmt off diff --git a/apps/predbat/tests/test_solcast.py b/apps/predbat/tests/test_solcast.py index 2cca5f9ae..dad67e127 100644 --- a/apps/predbat/tests/test_solcast.py +++ b/apps/predbat/tests/test_solcast.py @@ -1,6 +1,6 @@ # ----------------------------------------------------------------------------- # Predbat Home Battery System -# Copyright Trefor Southwell 2025 - All Rights Reserved +# Copyright Trefor Southwell 2026 - All Rights Reserved # This application maybe used for personal use only and not for commercial use # ----------------------------------------------------------------------------- # fmt off diff --git a/apps/predbat/tests/test_solis.py b/apps/predbat/tests/test_solis.py index 1d3daf8c8..2c55c6138 100644 --- a/apps/predbat/tests/test_solis.py +++ b/apps/predbat/tests/test_solis.py @@ -1,6 +1,6 @@ # ----------------------------------------------------------------------------- # Predbat Home Battery System -# Copyright Trefor Southwell 2025 - All Rights Reserved +# Copyright Trefor Southwell 2026 - All Rights Reserved # This application maybe used for personal use only and not for commercial use # ----------------------------------------------------------------------------- # fmt off diff --git a/apps/predbat/tests/test_temperature.py b/apps/predbat/tests/test_temperature.py index 5e83d96c3..0b901bc13 100644 --- a/apps/predbat/tests/test_temperature.py +++ b/apps/predbat/tests/test_temperature.py @@ -1,6 +1,6 @@ # ----------------------------------------------------------------------------- # Predbat Home Battery System -# Copyright Trefor Southwell 2025 - All Rights Reserved +# Copyright Trefor Southwell 2026 - All Rights Reserved # This application maybe used for personal use only and not for commercial use # ----------------------------------------------------------------------------- # fmt: off diff --git a/apps/predbat/tests/test_units.py b/apps/predbat/tests/test_units.py index b1e04ac5c..af8400c95 100644 --- a/apps/predbat/tests/test_units.py +++ b/apps/predbat/tests/test_units.py @@ -1,6 +1,6 @@ # ----------------------------------------------------------------------------- # Predbat Home Battery System -# Copyright Trefor Southwell 2025 - All Rights Reserved +# Copyright Trefor Southwell 2026 - All Rights Reserved # This application maybe used for personal use only and not for commercial use # ----------------------------------------------------------------------------- # fmt off diff --git a/apps/predbat/tests/test_web_if.py b/apps/predbat/tests/test_web_if.py index 6ace1c43c..e53809dab 100644 --- a/apps/predbat/tests/test_web_if.py +++ b/apps/predbat/tests/test_web_if.py @@ -1,6 +1,6 @@ # ----------------------------------------------------------------------------- # Predbat Home Battery System -# Copyright Trefor Southwell 2024 - All Rights Reserved +# Copyright Trefor Southwell 2026 - All Rights Reserved # This application maybe used for personal use only and not for commercial use # ----------------------------------------------------------------------------- # fmt off diff --git a/apps/predbat/tests/test_window.py b/apps/predbat/tests/test_window.py index d73263ea1..4cb271e61 100644 --- a/apps/predbat/tests/test_window.py +++ b/apps/predbat/tests/test_window.py @@ -1,6 +1,6 @@ # ----------------------------------------------------------------------------- # Predbat Home Battery System -# Copyright Trefor Southwell 2024 - All Rights Reserved +# Copyright Trefor Southwell 2026 - All Rights Reserved # This application maybe used for personal use only and not for commercial use # ----------------------------------------------------------------------------- # fmt off diff --git a/apps/predbat/tests/test_window2minutes.py b/apps/predbat/tests/test_window2minutes.py index dff92ceb3..2cc0478c8 100644 --- a/apps/predbat/tests/test_window2minutes.py +++ b/apps/predbat/tests/test_window2minutes.py @@ -1,6 +1,6 @@ # ----------------------------------------------------------------------------- # Predbat Home Battery System -# Copyright Trefor Southwell 2024 - All Rights Reserved +# Copyright Trefor Southwell 2026 - All Rights Reserved # This application maybe used for personal use only and not for commercial use # ----------------------------------------------------------------------------- # fmt off diff --git a/apps/predbat/unit_test.py b/apps/predbat/unit_test.py index a12f9649f..ec3978a2f 100644 --- a/apps/predbat/unit_test.py +++ b/apps/predbat/unit_test.py @@ -1,6 +1,6 @@ # ----------------------------------------------------------------------------- # Predbat Home Battery System -# Copyright Trefor Southwell 2025 - All Rights Reserved +# Copyright Trefor Southwell 2026 - All Rights Reserved # This application maybe used for personal use only and not for commercial use # ----------------------------------------------------------------------------- # fmt off diff --git a/apps/predbat/userinterface.py b/apps/predbat/userinterface.py index 1b94cd58d..c7bc76b26 100644 --- a/apps/predbat/userinterface.py +++ b/apps/predbat/userinterface.py @@ -1,6 +1,6 @@ # ----------------------------------------------------------------------------- # Predbat Home Battery System -# Copyright Trefor Southwell 2024 - All Rights Reserved +# Copyright Trefor Southwell 2026 - All Rights Reserved # This application maybe used for personal use only and not for commercial use # ----------------------------------------------------------------------------- # fmt off diff --git a/apps/predbat/utils.py b/apps/predbat/utils.py index f2c8b718a..c926b119c 100644 --- a/apps/predbat/utils.py +++ b/apps/predbat/utils.py @@ -1,6 +1,6 @@ # ----------------------------------------------------------------------------- # Predbat Home Battery System -# Copyright Trefor Southwell 2024 - All Rights Reserved +# Copyright Trefor Southwell 2026 - All Rights Reserved # This application maybe used for personal use only and not for commercial use # ----------------------------------------------------------------------------- # fmt off diff --git a/apps/predbat/web.py b/apps/predbat/web.py index 911438a41..ccfc6c7b6 100644 --- a/apps/predbat/web.py +++ b/apps/predbat/web.py @@ -1,6 +1,6 @@ # ----------------------------------------------------------------------------- # Predbat Home Battery System -# Copyright Trefor Southwell 2024 - All Rights Reserved +# Copyright Trefor Southwell 2026 - All Rights Reserved # This application maybe used for personal use only and not for commercial use # ----------------------------------------------------------------------------- # fmt off diff --git a/apps/predbat/web_helper.py b/apps/predbat/web_helper.py index c75c7b096..745f648b3 100644 --- a/apps/predbat/web_helper.py +++ b/apps/predbat/web_helper.py @@ -1,6 +1,6 @@ # ----------------------------------------------------------------------------- # Predbat Home Battery System -# Copyright Trefor Southwell 2024 - All Rights Reserved +# Copyright Trefor Southwell 2026 - All Rights Reserved # This application maybe used for personal use only and not for commercial use # ----------------------------------------------------------------------------- # fmt off diff --git a/apps/predbat/web_mcp.py b/apps/predbat/web_mcp.py index c96a2d9b2..1811fcf44 100644 --- a/apps/predbat/web_mcp.py +++ b/apps/predbat/web_mcp.py @@ -1,6 +1,6 @@ # ----------------------------------------------------------------------------- # Predbat Home Battery System -# Copyright Trefor Southwell 2025 - All Rights Reserved +# Copyright Trefor Southwell 2026 - All Rights Reserved # This application maybe used for personal use only and not for commercial use # ----------------------------------------------------------------------------- # fmt off From aaf93c7fc7c0901504a5a94994ece05ae9fcfe24 Mon Sep 17 00:00:00 2001 From: Trefor Southwell Date: Sun, 8 Feb 2026 17:15:48 +0000 Subject: [PATCH 2/7] Add missing files to list (not needed except for old upgrades) --- apps/predbat/predbat.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/predbat/predbat.py b/apps/predbat/predbat.py index f7f7f9524..c939fc0f3 100644 --- a/apps/predbat/predbat.py +++ b/apps/predbat/predbat.py @@ -30,7 +30,7 @@ THIS_VERSION = "v8.33.0" # fmt: off -PREDBAT_FILES = ["predbat.py", "const.py", "hass.py", "config.py", "prediction.py", "gecloud.py", "utils.py", "inverter.py", "ha.py", "download.py", "web.py", "web_helper.py", "predheat.py", "futurerate.py", "octopus.py", "solcast.py", "execute.py", "plan.py", "fetch.py", "output.py", "userinterface.py", "energydataservice.py", "alertfeed.py", "compare.py", "db_manager.py", "db_engine.py", "plugin_system.py", "ohme.py", "components.py", "fox.py", "carbon.py", "temperature.py", "web_mcp.py", "component_base.py", "axle.py", "solax.py", "solis.py", "unit_test.py"] +PREDBAT_FILES = ["predbat.py", "const.py", "hass.py", "config.py", "prediction.py", "gecloud.py", "utils.py", "inverter.py", "ha.py", "download.py", "web.py", "web_helper.py", "predheat.py", "futurerate.py", "octopus.py", "solcast.py", "execute.py", "plan.py", "fetch.py", "output.py", "userinterface.py", "energydataservice.py", "alertfeed.py", "compare.py", "db_manager.py", "db_engine.py", "plugin_system.py", "ohme.py", "components.py", "fox.py", "carbon.py", "temperature.py", "web_mcp.py", "component_base.py", "axle.py", "solax.py", "solis.py", "unit_test.py", "load_ml_component.py", "load_predictor.py"] # fmt: on from download import predbat_update_move, predbat_update_download, check_install From 1b14332826ce379612ee52819fbbde5cca7669b2 Mon Sep 17 00:00:00 2001 From: Trefor Southwell <48591903+springfall2008@users.noreply.github.com> Date: Mon, 9 Feb 2026 07:39:28 +0000 Subject: [PATCH 3/7] Update apps/predbat/predbat.py Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- apps/predbat/predbat.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/predbat/predbat.py b/apps/predbat/predbat.py index c939fc0f3..c39fb7ead 100644 --- a/apps/predbat/predbat.py +++ b/apps/predbat/predbat.py @@ -1,6 +1,6 @@ # ----------------------------------------------------------------------------- # Predbat Home Battery System -# Copyright Trefor Southwell 2026 - All Rights Reserved +# Copyright Trefor Southwell 2025-2026 - All Rights Reserved # This application maybe used for personal use only and not for commercial use # ----------------------------------------------------------------------------- # fmt off From 1f04cb849456aa3e517ffc6f1ef2e0e9897ac4fd Mon Sep 17 00:00:00 2001 From: Trefor Southwell <48591903+springfall2008@users.noreply.github.com> Date: Mon, 9 Feb 2026 07:39:54 +0000 Subject: [PATCH 4/7] Update copyright year in README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 9249f9a9f..b4f8e5a7f 100644 --- a/README.md +++ b/README.md @@ -41,7 +41,7 @@ Some inverters have their own groups also e.g: Please see [License](https://github.com/springfall2008/batpred/blob/main/License.md) ```text -Copyright (c) Trefor Southwell 2025 - All rights reserved +Copyright (c) Trefor Southwell 2025-2026 - All rights reserved This software maybe used at no cost for personal use only. No warranty is given, either expressed or implied. ``` From 7f46a0bdbd4ab3d9fdf7fd6cabd2b4ec0b63db0a Mon Sep 17 00:00:00 2001 From: Trefor Southwell <48591903+springfall2008@users.noreply.github.com> Date: Mon, 9 Feb 2026 07:40:36 +0000 Subject: [PATCH 5/7] Update copyright year from 2025 to 2025-2026 --- docs/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/index.md b/docs/index.md index 58e1fba0f..a1832b5ac 100644 --- a/docs/index.md +++ b/docs/index.md @@ -23,7 +23,7 @@ Also known by some as Batpred or Batman! Please see [License](https://github.com/springfall2008/batpred/blob/main/License.md) ```text -Copyright (c) Trefor Southwell April 2025 - All rights reserved +Copyright (c) Trefor Southwell 2025-2026 - All rights reserved This software may be used at no cost for personal use only No warranty is given, either expressed or implied ``` From 49f9c31b823e5212fa0a2c3718411f522836c616 Mon Sep 17 00:00:00 2001 From: Trefor Southwell Date: Mon, 9 Feb 2026 08:09:01 +0000 Subject: [PATCH 6/7] Change load ML to use without car --- apps/predbat/load_ml_component.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/predbat/load_ml_component.py b/apps/predbat/load_ml_component.py index 33e70d9f8..670a68648 100644 --- a/apps/predbat/load_ml_component.py +++ b/apps/predbat/load_ml_component.py @@ -150,9 +150,6 @@ async def _fetch_load_data(self): load_power_data, _ = self.base.minute_data_load(self.now_utc, "load_power", days_to_fetch, required_unit="W", load_scaling=1.0, interpolate=True) load_minutes = self.base.fill_load_from_power(load_minutes, load_power_data) - # Get current cumulative load value - load_minutes_now = get_now_from_cumulative(load_minutes, self.minutes_now, backwards=True) - car_charging_energy = {} if self.get_arg("car_charging_energy", default=None, indirect=False): car_charging_energy = self.base.minute_data_import_export(days_to_fetch, self.now_utc, "car_charging_energy", scale=self.car_charging_energy_scale, required_unit="kWh") @@ -189,6 +186,9 @@ async def _fetch_load_data(self): # Calculate age of data age_days = max_minute / (24 * 60) + # Get current cumulative load value (excludes car) + load_minutes_now = get_now_from_cumulative(load_minutes_new, self.minutes_now, backwards=True) + # PV Data if self.ml_pv_sensor: pv_data, _ = self.base.minute_data_load(self.now_utc, "pv_today", days_to_fetch, required_unit="kWh", load_scaling=1.0, interpolate=True) From 04910495cab327cd7770d471ca764c45244bb878 Mon Sep 17 00:00:00 2001 From: Trefor Southwell Date: Mon, 9 Feb 2026 08:23:29 +0000 Subject: [PATCH 7/7] Chart tidy --- apps/predbat/web.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/apps/predbat/web.py b/apps/predbat/web.py index ccfc6c7b6..79199c740 100644 --- a/apps/predbat/web.py +++ b/apps/predbat/web.py @@ -2652,7 +2652,7 @@ def get_chart(self, chart): # Get historical PV power pv_power_hist = history_attribute(self.get_history_wrapper(self.prefix + ".pv_power", 1, required=False)) - pv_power = prune_today(pv_power_hist, self.now_utc, self.midnight_utc, prune=False) + pv_power = prune_today(pv_power_hist, self.now_utc, self.midnight_utc, prune=True, prune_past_days=7) # Get temperature prediction data and limit to 48 hours forward temperature_forecast = prune_today(self.get_entity_results("sensor." + self.prefix + "_temperature"), self.now_utc, self.midnight_utc, prune_future=True, prune_future_days=2, prune=True, prune_past_days=7) @@ -2660,7 +2660,6 @@ def get_chart(self, chart): series_data = [ {"name": "Load Power (Actual)", "data": load_power, "opacity": "1.0", "stroke_width": "3", "stroke_curve": "smooth", "color": "#3291a8", "unit": "kW"}, {"name": "Load Power (ML Predicted Future)", "data": load_ml_forecast_power, "opacity": "0.5", "stroke_width": "3", "chart_type": "area", "stroke_curve": "smooth", "color": "#eb2323", "unit": "kW"}, - {"name": "Load Power (Used)", "data": load_power_best, "opacity": "1.0", "stroke_width": "2", "stroke_curve": "smooth", "unit": "kW"}, {"name": "Load Power ML History", "data": power_today, "opacity": "1.0", "stroke_width": "2", "stroke_curve": "smooth", "unit": "kW", "color": "#eb2323"}, {"name": "Load Power ML History +1h", "data": power_today_h1, "opacity": "1.0", "stroke_width": "2", "stroke_curve": "smooth", "unit": "kW", "color": "#716d63"}, {"name": "Load Power ML History +8h", "data": power_today_h8, "opacity": "1.0", "stroke_width": "2", "stroke_curve": "smooth", "unit": "kW", "color": "#a6a5a3"},