Closed btxluke closed 3 months ago
Same here, went back to v.7.18.2, disabled auto update and it's working again.
2024-05-11 09:32:31.137043 INFO AppDaemon: Reloading Module: /config/apps/predbat.py 2024-05-11 09:32:31.405459 INFO AppDaemon: Loading app pred_bat using class PredBat from module predbat 2024-05-11 09:32:31.407800 INFO AppDaemon: Calling initialize() for pred_bat 2024-05-11 09:32:31.409796 INFO pred_bat: Predbat: Startup predbat 2024-05-11 09:32:31.411534 INFO pred_bat: Sanity check: 2024-05-11 09:32:31.413025 INFO pred_bat: Sanity scan files in '/config' : ['dashboards', 'predbat.log.1', 'apps', 'predbat_dashboard.yaml', 'predbat.log.2', 'namespaces', 'compiled', 'www', 'appdaemon.yaml', 'predbat.log', 'predbat.log.3'] 2024-05-11 09:32:31.417681 INFO pred_bat: Sanity: Got app_dir /config/apps 2024-05-11 09:32:31.419334 INFO pred_bat: Sanity: Scanning app_dirs: ['/config/apps'] 2024-05-11 09:32:31.421025 INFO pred_bat: Sanity: Got predbat.py in location /config/apps/predbat.py 2024-05-11 09:32:31.422529 INFO pred_bat: Sanity: Got apps.yaml in location /config/apps/apps.yaml 2024-05-11 09:32:31.495917 INFO pred_bat: Sanity: /config/apps/apps.yaml is a valid pred_bat configuration 2024-05-11 09:32:31.497408 INFO pred_bat: Sanity: Confirmed correct version v7.18.3 is in predbat.py 2024-05-11 09:32:31.503227 INFO pred_bat: Sanity check has passed 2024-05-11 09:32:31.528832 INFO predbat: Regular expression argument geserial matched ^sensor.givtcp(.+)_soc_kwh$ with ed2152r267 2024-05-11 09:32:31.530465 INFO pred_bat: Regular expression argument pv_forecasttoday matched ^(sensor.(solcast|)(pvforecast|)forecast_today)$ with sensor.solcast_pv_forecast_forecast_today 2024-05-11 09:32:31.531937 INFO pred_bat: Regular expression argument pv_forecasttomorrow matched ^(sensor.(solcast|)(pvforecast|)forecast_tomorrow)$ with sensor.solcast_pv_forecast_forecast_tomorrow 2024-05-11 09:32:31.533397 INFO pred_bat: Regular expression argument pv_forecastd3 matched ^(sensor.(solcast|)(pvforecast|)forecast_(day_3|d3))$ with sensor.solcast_pv_forecast_forecast_day_3 2024-05-11 09:32:31.535077 INFO pred_bat: Regular expression argument pv_forecastd4 matched ^(sensor.(solcast|)(pvforecast|)forecast_(day_4|d4))$ with sensor.solcast_pv_forecast_forecast_day_4 2024-05-11 09:32:31.536502 INFO pred_bat: Regular expression argument car_charging_energy matched ^(sensor.myenergizappi[0-9a-z]+_charge_added_session|sensor.wallbox_portal_added_energy)$ with sensor.myenergi_zappi_10304626_charge_added_session 2024-05-11 09:32:31.537995 INFO pred_bat: Regular expression argument car_charging_planned matched ^(sensor.wallbox_portal_status_description|sensor.myenergizappi[0-9a-z]+_plug_status)$ with sensor.myenergi_zappi_10304626_plug_status 2024-05-11 09:32:31.539814 INFO pred_bat: Regular expression argument car_charging_limit Matched ^number.charge_limit$ with number.charge_limit 2024-05-11 09:32:31.541603 INFO pred_bat: Regular expression argument car_charging_soc Matched ^sensor.battery$ with sensor.battery 2024-05-11 09:32:31.789556 INFO pred_bat: Updating HA config expert_mode to True 2024-05-11 09:32:31.790693 WARNING pred_bat: pred_bat: Entity switch.predbat_expert_mode not found in namespace default 2024-05-11 09:32:31.791620 INFO AppDaemon: pred_bat: Entity switch.predbat_expert_mode created in namespace: default 2024-05-11 09:32:32.179807 INFO pred_bat: Updating HA config active to True 2024-05-11 09:32:32.181082 WARNING pred_bat: pred_bat: Entity switch.predbat_active not found in namespace default 2024-05-11 09:32:32.181941 INFO AppDaemon: pred_bat: Entity switch.predbat_active created in namespace: default 2024-05-11 09:32:32.272193 INFO pred_bat: Updating HA config pv_metric10_weight to 0.15 2024-05-11 09:32:32.273255 WARNING pred_bat: pred_bat: Entity input_number.predbat_pv_metric10_weight not found in namespace default 2024-05-11 09:32:32.274046 INFO AppDaemon: pred_bat: Entity input_number.predbat_pv_metric10_weight created in namespace: default 2024-05-11 09:32:32.312737 INFO pred_bat: Updating HA config pv_scaling to 1.0 2024-05-11 09:32:32.313674 WARNING pred_bat: pred_bat: Entity input_number.predbat_pv_scaling not found in namespace default 2024-05-11 09:32:32.314323 INFO AppDaemon: pred_bat: Entity input_number.predbat_pv_scaling created in namespace: default 2024-05-11 09:32:32.369755 INFO pred_bat: Updating HA config load_scaling to 1.0 2024-05-11 09:32:32.370713 WARNING pred_bat: pred_bat: Entity input_number.predbat_load_scaling not found in namespace default 2024-05-11 09:32:32.371396 INFO AppDaemon: pred_bat: Entity input_number.predbat_load_scaling created in namespace: default 2024-05-11 09:32:32.403556 INFO pred_bat: Updating HA config load_scaling10 to 1.1 2024-05-11 09:32:32.404488 WARNING pred_bat: pred_bat: Entity input_number.predbat_load_scaling10 not found in namespace default 2024-05-11 09:32:32.405150 INFO AppDaemon: pred_bat: Entity input_number.predbat_load_scaling10 created in namespace: default 2024-05-11 09:32:32.443397 INFO pred_bat: Updating HA config load_scaling_saving to 1.0 2024-05-11 09:32:32.444332 WARNING pred_bat: pred_bat: Entity input_number.predbat_load_scaling_saving not found in namespace default 2024-05-11 09:32:32.444993 INFO AppDaemon: pred_bat: Entity input_number.predbat_load_scaling_saving created in namespace: default 2024-05-11 09:32:32.483818 INFO pred_bat: Updating HA config battery_rate_max_scaling to 1.0 2024-05-11 09:32:32.484805 WARNING pred_bat: pred_bat: Entity input_number.predbat_battery_rate_max_scaling not found in namespace default 2024-05-11 09:32:32.485515 INFO AppDaemon: pred_bat: Entity input_number.predbat_battery_rate_max_scaling created in namespace: default 2024-05-11 09:32:32.529204 INFO pred_bat: Updating HA config battery_rate_max_scaling_discharge to 1.0 2024-05-11 09:32:32.530343 WARNING pred_bat: pred_bat: Entity input_number.predbat_battery_rate_max_scaling_discharge not found in namespace default 2024-05-11 09:32:32.531116 INFO AppDaemon: pred_bat: Entity input_number.predbat_battery_rate_max_scaling_discharge created in namespace: default 2024-05-11 09:32:32.571604 INFO pred_bat: Updating HA config battery_loss to 0.03 2024-05-11 09:32:32.572766 WARNING pred_bat: pred_bat: Entity input_number.predbat_battery_loss not found in namespace default 2024-05-11 09:32:32.573725 INFO AppDaemon: pred_bat: Entity input_number.predbat_battery_loss created in namespace: default 2024-05-11 09:32:32.609861 INFO pred_bat: Updating HA config battery_loss_discharge to 0.03 2024-05-11 09:32:32.611040 WARNING pred_bat: pred_bat: Entity input_number.predbat_battery_loss_discharge not found in namespace default 2024-05-11 09:32:32.611722 INFO AppDaemon: pred_bat: Entity input_number.predbat_battery_loss_discharge created in namespace: default 2024-05-11 09:32:32.642916 INFO pred_bat: Updating HA config inverter_loss to 0.04 2024-05-11 09:32:32.644054 WARNING pred_bat: pred_bat: Entity input_number.predbat_inverter_loss not found in namespace default 2024-05-11 09:32:32.644680 INFO AppDaemon: pred_bat: Entity input_number.predbat_inverter_loss created in namespace: default 2024-05-11 09:32:32.685582 INFO pred_bat: Updating HA config inverter_hybrid to True 2024-05-11 09:32:32.686567 WARNING pred_bat: pred_bat: Entity switch.predbat_inverter_hybrid not found in namespace default 2024-05-11 09:32:32.687140 INFO AppDaemon: pred_bat: Entity switch.predbat_inverter_hybrid created in namespace: default 2024-05-11 09:32:32.729159 INFO pred_bat: Updating HA config inverter_soc_reset to False 2024-05-11 09:32:32.730219 WARNING pred_bat: pred_bat: Entity switch.predbat_inverter_soc_reset not found in namespace default 2024-05-11 09:32:32.731104 INFO AppDaemon: pred_bat: Entity switch.predbat_inverter_soc_reset created in namespace: default 2024-05-11 09:32:32.767702 INFO pred_bat: Updating HA config battery_capacity_nominal to False 2024-05-11 09:32:32.768797 WARNING pred_bat: pred_bat: Entity switch.predbat_battery_capacity_nominal not found in namespace default 2024-05-11 09:32:32.769602 INFO AppDaemon: pred_bat: Entity switch.predbat_battery_capacity_nominal created in namespace: default 2024-05-11 09:32:32.895035 INFO pred_bat: Updating HA config car_charging_energy_scale to 1.0 2024-05-11 09:32:32.896214 WARNING pred_bat: pred_bat: Entity input_number.predbat_car_charging_energy_scale not found in namespace default 2024-05-11 09:32:32.897057 INFO AppDaemon: pred_bat: Entity input_number.predbat_car_charging_energy_scale created in namespace: default 2024-05-11 09:32:32.978448 INFO pred_bat: Updating HA config car_charging_threshold to 6.0 2024-05-11 09:32:32.979399 WARNING pred_bat: pred_bat: Entity input_number.predbat_car_charging_threshold not found in namespace default 2024-05-11 09:32:32.980079 INFO AppDaemon: pred_bat: Entity input_number.predbat_car_charging_threshold created in namespace: default 2024-05-11 09:32:33.015687 INFO pred_bat: Updating HA config car_charging_rate to 7.4 2024-05-11 09:32:33.016584 WARNING pred_bat: pred_bat: Entity input_number.predbat_car_charging_rate not found in namespace default 2024-05-11 09:32:33.017168 INFO AppDaemon: pred_bat: Entity input_number.predbat_car_charging_rate created in namespace: default 2024-05-11 09:32:33.049756 INFO pred_bat: Updating HA config car_charging_loss to 0.08 2024-05-11 09:32:33.050673 WARNING pred_bat: pred_bat: Entity input_number.predbat_car_charging_loss not found in namespace default 2024-05-11 09:32:33.051385 INFO AppDaemon: pred_bat: Entity input_number.predbat_car_charging_loss created in namespace: default 2024-05-11 09:32:33.087168 INFO pred_bat: Updating HA config best_soc_min to 0.0 2024-05-11 09:32:33.088302 WARNING pred_bat: pred_bat: Entity input_number.predbat_best_soc_min not found in namespace default 2024-05-11 09:32:33.088863 INFO AppDaemon: pred_bat: Entity input_number.predbat_best_soc_min created in namespace: default 2024-05-11 09:32:33.116252 INFO pred_bat: Updating HA config best_soc_max to 0.0 2024-05-11 09:32:33.117235 WARNING pred_bat: pred_bat: Entity input_number.predbat_best_soc_max not found in namespace default 2024-05-11 09:32:33.117968 INFO AppDaemon: pred_bat: Entity input_number.predbat_best_soc_max created in namespace: default 2024-05-11 09:32:33.142530 INFO pred_bat: Updating HA config best_soc_keep to 0.5 2024-05-11 09:32:33.144748 WARNING pred_bat: pred_bat: Entity input_number.predbat_best_soc_keep not found in namespace default 2024-05-11 09:32:33.146230 INFO AppDaemon: pred_bat: Entity input_number.predbat_best_soc_keep created in namespace: default 2024-05-11 09:32:33.170622 INFO pred_bat: Updating HA config metric_min_improvement to 0.0 2024-05-11 09:32:33.171695 WARNING pred_bat: pred_bat: Entity input_number.predbat_metric_min_improvement not found in namespace default 2024-05-11 09:32:33.172525 INFO AppDaemon: pred_bat: Entity input_number.predbat_metric_min_improvement created in namespace: default 2024-05-11 09:32:33.196968 INFO pred_bat: Updating HA config metric_min_improvement_discharge to 0.1 2024-05-11 09:32:33.198034 WARNING pred_bat: pred_bat: Entity input_number.predbat_metric_min_improvement_discharge not found in namespace default 2024-05-11 09:32:33.198698 INFO AppDaemon: pred_bat: Entity input_number.predbat_metric_min_improvement_discharge created in namespace: default 2024-05-11 09:32:33.224137 INFO pred_bat: Updating HA config metric_battery_cycle to 1.0 2024-05-11 09:32:33.225202 WARNING pred_bat: pred_bat: Entity input_number.predbat_metric_battery_cycle not found in namespace default 2024-05-11 09:32:33.225901 INFO AppDaemon: pred_bat: Entity input_number.predbat_metric_battery_cycle created in namespace: default 2024-05-11 09:32:33.250786 INFO pred_bat: Updating HA config metric_battery_value_scaling to 1.0 2024-05-11 09:32:33.252219 WARNING pred_bat: pred_bat: Entity input_number.predbat_metric_battery_value_scaling not found in namespace default 2024-05-11 09:32:33.253086 INFO AppDaemon: pred_bat: Entity input_number.predbat_metric_battery_value_scaling created in namespace: default 2024-05-11 09:32:33.278126 INFO pred_bat: Updating HA config metric_future_rate_offset_import to 0.0 2024-05-11 09:32:33.279133 WARNING pred_bat: pred_bat: Entity input_number.predbat_metric_future_rate_offset_import not found in namespace default 2024-05-11 09:32:33.279740 INFO AppDaemon: pred_bat: Entity input_number.predbat_metric_future_rate_offset_import created in namespace: default 2024-05-11 09:32:33.311064 INFO pred_bat: Updating HA config metric_future_rate_offset_export to 0.0 2024-05-11 09:32:33.312495 WARNING pred_bat: pred_bat: Entity input_number.predbat_metric_future_rate_offset_export not found in namespace default 2024-05-11 09:32:33.313139 INFO AppDaemon: pred_bat: Entity input_number.predbat_metric_future_rate_offset_export created in namespace: default 2024-05-11 09:32:33.343681 INFO pred_bat: Updating HA config metric_inday_adjust_damping to 0.95 2024-05-11 09:32:33.345052 WARNING pred_bat: pred_bat: Entity input_number.predbat_metric_inday_adjust_damping not found in namespace default 2024-05-11 09:32:33.346156 INFO AppDaemon: pred_bat: Entity input_number.predbat_metric_inday_adjust_damping created in namespace: default 2024-05-11 09:32:33.398541 INFO pred_bat: Updating HA config metric_cloud_enable to True 2024-05-11 09:32:33.399972 WARNING pred_bat: pred_bat: Entity switch.predbat_metric_cloud_enable not found in namespace default 2024-05-11 09:32:33.401085 INFO AppDaemon: pred_bat: Entity switch.predbat_metric_cloud_enable created in namespace: default 2024-05-11 09:32:33.434310 INFO pred_bat: Updating HA config metric_load_divergence_enable to True 2024-05-11 09:32:33.435244 WARNING pred_bat: pred_bat: Entity switch.predbat_metric_load_divergence_enable not found in namespace default 2024-05-11 09:32:33.435957 INFO AppDaemon: pred_bat: Entity switch.predbat_metric_load_divergence_enable created in namespace: default 2024-05-11 09:32:33.465396 INFO pred_bat: Set reset inverter true due to reset_inverter on item set_reserve_min 2024-05-11 09:32:33.466909 INFO pred_bat: Updating HA config set_reserve_min to 4.0 2024-05-11 09:32:33.468065 WARNING pred_bat: pred_bat: Entity input_number.predbat_set_reserve_min not found in namespace default 2024-05-11 09:32:33.469634 INFO AppDaemon: pred_bat: Entity input_number.predbat_set_reserve_min created in namespace: default 2024-05-11 09:32:33.506024 INFO pred_bat: Updating HA config rate_low_threshold to 0.0 2024-05-11 09:32:33.507150 WARNING pred_bat: pred_bat: Entity input_number.predbat_rate_low_threshold not found in namespace default 2024-05-11 09:32:33.507991 INFO AppDaemon: pred_bat: Entity input_number.predbat_rate_low_threshold created in namespace: default 2024-05-11 09:32:33.545970 INFO pred_bat: Updating HA config rate_high_threshold to 0.0 2024-05-11 09:32:33.547727 WARNING pred_bat: pred_bat: Entity input_number.predbat_rate_high_threshold not found in namespace default 2024-05-11 09:32:33.549534 INFO AppDaemon: pred_bat: Entity input_number.predbat_rate_high_threshold created in namespace: default 2024-05-11 09:32:33.581642 INFO pred_bat: Updating HA config combine_rate_threshold to 0.0 2024-05-11 09:32:33.583537 WARNING pred_bat: pred_bat: Entity input_number.predbat_combine_rate_threshold not found in namespace default 2024-05-11 09:32:33.584612 INFO AppDaemon: pred_bat: Entity input_number.predbat_combine_rate_threshold created in namespace: default 2024-05-11 09:32:33.620982 INFO pred_bat: Set reset inverter true due to reset_inverter on item car_charging_hold 2024-05-11 09:32:33.624532 INFO pred_bat: Updating HA config car_charging_hold to True 2024-05-11 09:32:33.625984 WARNING pred_bat: pred_bat: Entity switch.predbat_car_charging_hold not found in namespace default 2024-05-11 09:32:33.626830 INFO AppDaemon: pred_bat: Entity switch.predbat_car_charging_hold created in namespace: default 2024-05-11 09:32:33.659414 INFO pred_bat: Updating HA config car_charging_manual_soc to False 2024-05-11 09:32:33.660364 WARNING pred_bat: pred_bat: Entity switch.predbat_car_charging_manual_soc not found in namespace default 2024-05-11 09:32:33.661037 INFO AppDaemon: pred_bat: Entity switch.predbat_car_charging_manual_soc created in namespace: default 2024-05-11 09:32:33.678513 INFO pred_bat: Note: Disabled configuration item car_charging_manual_soc_kwh 2024-05-11 09:32:33.704769 INFO pred_bat: Updating HA config octopus_intelligent_charging to False 2024-05-11 09:32:33.705784 WARNING pred_bat: pred_bat: Entity switch.predbat_octopus_intelligent_charging not found in namespace default 2024-05-11 09:32:33.706499 INFO AppDaemon: pred_bat: Entity switch.predbat_octopus_intelligent_charging created in namespace: default 2024-05-11 09:32:33.752992 INFO pred_bat: Updating HA config octopus_intelligent_ignore_unplugged to False 2024-05-11 09:32:33.754416 WARNING pred_bat: pred_bat: Entity switch.predbat_octopus_intelligent_ignore_unplugged not found in namespace default 2024-05-11 09:32:33.755476 INFO AppDaemon: pred_bat: Entity switch.predbat_octopus_intelligent_ignore_unplugged created in namespace: default 2024-05-11 09:32:33.794853 INFO pred_bat: Updating HA config car_charging_plan_smart to False 2024-05-11 09:32:33.796203 WARNING pred_bat: pred_bat: Entity switch.predbat_car_charging_plan_smart not found in namespace default 2024-05-11 09:32:33.797853 INFO AppDaemon: pred_bat: Entity switch.predbat_car_charging_plan_smart created in namespace: default 2024-05-11 09:32:33.826384 INFO pred_bat: Updating HA config car_charging_plan_max_price to 0.0 2024-05-11 09:32:33.827781 WARNING pred_bat: pred_bat: Entity input_number.predbat_car_charging_plan_max_price not found in namespace default 2024-05-11 09:32:33.828847 INFO AppDaemon: pred_bat: Entity input_number.predbat_car_charging_plan_max_price created in namespace: default 2024-05-11 09:32:33.882319 INFO pred_bat: Set reset inverter true due to reset_inverter on item car_charging_from_battery 2024-05-11 09:32:33.884700 INFO pred_bat: Updating HA config car_charging_from_battery to False 2024-05-11 09:32:33.885848 WARNING pred_bat: pred_bat: Entity switch.predbat_car_charging_from_battery not found in namespace default 2024-05-11 09:32:33.886595 INFO AppDaemon: pred_bat: Entity switch.predbat_car_charging_from_battery created in namespace: default 2024-05-11 09:32:33.916897 INFO pred_bat: Updating HA config calculate_discharge_oncharge to True 2024-05-11 09:32:33.917943 WARNING pred_bat: pred_bat: Entity switch.predbat_calculate_discharge_oncharge not found in namespace default 2024-05-11 09:32:33.918814 INFO AppDaemon: pred_bat: Entity switch.predbat_calculate_discharge_oncharge created in namespace: default 2024-05-11 09:32:33.950965 INFO pred_bat: Updating HA config calculate_fast_plan to False 2024-05-11 09:32:33.952301 WARNING pred_bat: pred_bat: Entity switch.predbat_calculate_fast_plan not found in namespace default 2024-05-11 09:32:33.953324 INFO AppDaemon: pred_bat: Entity switch.predbat_calculate_fast_plan created in namespace: default 2024-05-11 09:32:33.986125 INFO pred_bat: Updating HA config calculate_second_pass to False 2024-05-11 09:32:33.987435 WARNING pred_bat: pred_bat: Entity switch.predbat_calculate_second_pass not found in namespace default 2024-05-11 09:32:33.988513 INFO AppDaemon: pred_bat: Entity switch.predbat_calculate_second_pass created in namespace: default 2024-05-11 09:32:34.025997 INFO pred_bat: Updating HA config calculate_tweak_plan to False 2024-05-11 09:32:34.027245 WARNING pred_bat: pred_bat: Entity switch.predbat_calculate_tweak_plan not found in namespace default 2024-05-11 09:32:34.028223 INFO AppDaemon: pred_bat: Entity switch.predbat_calculate_tweak_plan created in namespace: default 2024-05-11 09:32:34.062375 INFO pred_bat: Updating HA config calculate_secondary_order to True 2024-05-11 09:32:34.063653 WARNING pred_bat: pred_bat: Entity switch.predbat_calculate_secondary_order not found in namespace default 2024-05-11 09:32:34.064721 INFO AppDaemon: pred_bat: Entity switch.predbat_calculate_secondary_order created in namespace: default 2024-05-11 09:32:34.097522 INFO pred_bat: Updating HA config calculate_inday_adjustment to True 2024-05-11 09:32:34.098818 WARNING pred_bat: pred_bat: Entity switch.predbat_calculate_inday_adjustment not found in namespace default 2024-05-11 09:32:34.099939 INFO AppDaemon: pred_bat: Entity switch.predbat_calculate_inday_adjustment created in namespace: default 2024-05-11 09:32:34.134134 INFO pred_bat: Updating HA config calculate_plan_every to 10.0 2024-05-11 09:32:34.135385 WARNING pred_bat: pred_bat: Entity input_number.predbat_calculate_plan_every not found in namespace default 2024-05-11 09:32:34.136372 INFO AppDaemon: pred_bat: Entity input_number.predbat_calculate_plan_every created in namespace: default 2024-05-11 09:32:34.170255 INFO pred_bat: Updating HA config combine_charge_slots to True 2024-05-11 09:32:34.171447 WARNING pred_bat: pred_bat: Entity switch.predbat_combine_charge_slots not found in namespace default 2024-05-11 09:32:34.172109 INFO AppDaemon: pred_bat: Entity switch.predbat_combine_charge_slots created in namespace: default 2024-05-11 09:32:34.203674 INFO pred_bat: Updating HA config combine_discharge_slots to False 2024-05-11 09:32:34.204617 WARNING pred_bat: pred_bat: Entity switch.predbat_combine_discharge_slots not found in namespace default 2024-05-11 09:32:34.205297 INFO AppDaemon: pred_bat: Entity switch.predbat_combine_discharge_slots created in namespace: default 2024-05-11 09:32:34.235776 INFO pred_bat: Updating HA config set_status_notify to True 2024-05-11 09:32:34.236993 WARNING pred_bat: pred_bat: Entity switch.predbat_set_status_notify not found in namespace default 2024-05-11 09:32:34.237972 INFO AppDaemon: pred_bat: Entity switch.predbat_set_status_notify created in namespace: default 2024-05-11 09:32:34.267345 INFO pred_bat: Updating HA config set_inverter_notify to False 2024-05-11 09:32:34.268513 WARNING pred_bat: pred_bat: Entity switch.predbat_set_inverter_notify not found in namespace default 2024-05-11 09:32:34.269527 INFO AppDaemon: pred_bat: Entity switch.predbat_set_inverter_notify created in namespace: default 2024-05-11 09:32:34.296842 INFO pred_bat: Set reset inverter true due to reset_inverter on item set_charge_freeze 2024-05-11 09:32:34.298144 INFO pred_bat: Updating HA config set_charge_freeze to True 2024-05-11 09:32:34.299320 WARNING pred_bat: pred_bat: Entity switch.predbat_set_charge_freeze not found in namespace default 2024-05-11 09:32:34.300231 INFO AppDaemon: pred_bat: Entity switch.predbat_set_charge_freeze created in namespace: default 2024-05-11 09:32:34.326293 INFO pred_bat: Set reset inverter true due to reset_inverter on item set_charge_low_power 2024-05-11 09:32:34.327708 INFO pred_bat: Updating HA config set_charge_low_power to False 2024-05-11 09:32:34.328728 WARNING pred_bat: pred_bat: Entity switch.predbat_set_charge_low_power not found in namespace default 2024-05-11 09:32:34.329449 INFO AppDaemon: pred_bat: Entity switch.predbat_set_charge_low_power created in namespace: default 2024-05-11 09:32:34.357843 INFO pred_bat: Set reset inverter true due to reset_inverter on item set_reserve_enable 2024-05-11 09:32:34.359205 INFO pred_bat: Updating HA config set_reserve_enable to True 2024-05-11 09:32:34.360177 WARNING pred_bat: pred_bat: Entity switch.predbat_set_reserve_enable not found in namespace default 2024-05-11 09:32:34.360825 INFO AppDaemon: pred_bat: Entity switch.predbat_set_reserve_enable created in namespace: default 2024-05-11 09:32:34.386739 INFO pred_bat: Set reset inverter true due to reset_inverter on item set_discharge_freeze_only 2024-05-11 09:32:34.389524 INFO pred_bat: Updating HA config set_discharge_freeze_only to False 2024-05-11 09:32:34.390487 WARNING pred_bat: pred_bat: Entity switch.predbat_set_discharge_freeze_only not found in namespace default 2024-05-11 09:32:34.391028 INFO AppDaemon: pred_bat: Entity switch.predbat_set_discharge_freeze_only created in namespace: default 2024-05-11 09:32:34.418672 INFO pred_bat: Updating HA config set_discharge_during_charge to True 2024-05-11 09:32:34.419489 WARNING pred_bat: pred_bat: Entity switch.predbat_set_discharge_during_charge not found in namespace default 2024-05-11 09:32:34.420149 INFO AppDaemon: pred_bat: Entity switch.predbat_set_discharge_during_charge created in namespace: default 2024-05-11 09:32:34.444248 INFO pred_bat: Set reset inverter true due to reset_inverter_force on item set_read_only 2024-05-11 09:32:34.445680 INFO pred_bat: Updating HA config set_read_only to False 2024-05-11 09:32:34.446598 WARNING pred_bat: pred_bat: Entity switch.predbat_set_read_only not found in namespace default 2024-05-11 09:32:34.447128 INFO AppDaemon: pred_bat: Entity switch.predbat_set_read_only created in namespace: default 2024-05-11 09:32:34.476191 INFO pred_bat: Updating HA config balance_inverters_enable to False 2024-05-11 09:32:34.477157 WARNING pred_bat: pred_bat: Entity switch.predbat_balance_inverters_enable not found in namespace default 2024-05-11 09:32:34.477832 INFO AppDaemon: pred_bat: Entity switch.predbat_balance_inverters_enable created in namespace: default 2024-05-11 09:32:34.490060 INFO pred_bat: Note: Disabled configuration item balance_inverters_charge 2024-05-11 09:32:34.492445 INFO pred_bat: Note: Disabled configuration item balance_inverters_discharge 2024-05-11 09:32:34.494460 INFO pred_bat: Note: Disabled configuration item balance_inverters_crosscharge 2024-05-11 09:32:34.496486 INFO pred_bat: Note: Disabled configuration item balance_inverters_threshold_charge 2024-05-11 09:32:34.498238 INFO pred_bat: Note: Disabled configuration item balance_inverters_threshold_discharge 2024-05-11 09:32:34.512677 INFO pred_bat: Updating HA config debug_enable to False 2024-05-11 09:32:34.513554 WARNING pred_bat: pred_bat: Entity switch.predbat_debug_enable not found in namespace default 2024-05-11 09:32:34.514091 INFO AppDaemon: pred_bat: Entity switch.predbat_debug_enable created in namespace: default 2024-05-11 09:32:34.539734 INFO pred_bat: Updating HA config car_charging_plan_time to 06:00:00 2024-05-11 09:32:34.541079 WARNING pred_bat: pred_bat: Entity select.predbat_car_charging_plan_time not found in namespace default 2024-05-11 09:32:34.541718 INFO AppDaemon: pred_bat: Entity select.predbat_car_charging_plan_time created in namespace: default 2024-05-11 09:32:34.568677 INFO pred_bat: Set reset inverter true due to reset_inverter_force on item mode 2024-05-11 09:32:34.569950 INFO pred_bat: Updating HA config mode to Control charge & discharge 2024-05-11 09:32:34.571738 WARNING pred_bat: pred_bat: Entity select.predbat_mode not found in namespace default 2024-05-11 09:32:34.572435 INFO AppDaemon: pred_bat: Entity select.predbat_mode created in namespace: default 2024-05-11 09:32:34.609088 WARNING pred_bat: pred_bat: Entity select.predbat_manual_charge not found in namespace default 2024-05-11 09:32:34.609711 INFO AppDaemon: pred_bat: Entity select.predbat_manual_charge created in namespace: default 2024-05-11 09:32:34.635136 WARNING pred_bat: pred_bat: Entity select.predbat_manual_discharge not found in namespace default 2024-05-11 09:32:34.635730 INFO AppDaemon: pred_bat: Entity select.predbat_manual_discharge created in namespace: default 2024-05-11 09:32:34.660909 WARNING pred_bat: pred_bat: Entity select.predbat_manual_idle not found in namespace default 2024-05-11 09:32:34.661497 INFO AppDaemon: pred_bat: Entity select.predbat_manual_idle created in namespace: default 2024-05-11 09:32:34.686765 WARNING pred_bat: pred_bat: Entity select.predbat_manual_freeze_charge not found in namespace default 2024-05-11 09:32:34.687496 INFO AppDaemon: pred_bat: Entity select.predbat_manual_freeze_charge created in namespace: default 2024-05-11 09:32:34.714069 WARNING pred_bat: pred_bat: Entity select.predbat_manual_freeze_discharge not found in namespace default 2024-05-11 09:32:34.714906 INFO AppDaemon: pred_bat: Entity select.predbat_manual_freeze_discharge created in namespace: default 2024-05-11 09:32:34.740607 INFO pred_bat: Updating HA config saverestore to 2024-05-11 09:32:34.742120 WARNING pred_bat: pred_bat: Entity select.predbat_saverestore not found in namespace default 2024-05-11 09:32:34.742732 INFO AppDaemon: pred_bat: Entity select.predbat_saverestore created in namespace: default 2024-05-11 09:32:34.768133 INFO pred_bat: Updating HA config auto_update to True 2024-05-11 09:32:34.769036 WARNING pred_bat: pred_bat: Entity switch.predbat_auto_update not found in namespace default 2024-05-11 09:32:34.769673 INFO AppDaemon: pred_bat: Entity switch.predbat_auto_update created in namespace: default 2024-05-11 09:32:34.796783 INFO pred_bat: Updating HA config load_filter_modal to True 2024-05-11 09:32:34.797673 WARNING pred_bat: pred_bat: Entity switch.predbat_load_filter_modal not found in namespace default 2024-05-11 09:32:34.798268 INFO AppDaemon: pred_bat: Entity switch.predbat_load_filter_modal created in namespace: default 2024-05-11 09:32:34.822940 INFO pred_bat: Updating HA config iboost_enable to False 2024-05-11 09:32:34.823833 WARNING pred_bat: pred_bat: Entity switch.predbat_iboost_enable not found in namespace default 2024-05-11 09:32:34.824568 INFO AppDaemon: pred_bat: Entity switch.predbat_iboost_enable created in namespace: default 2024-05-11 09:32:34.850666 INFO pred_bat: Updating HA config carbon_enable to False 2024-05-11 09:32:34.851535 WARNING pred_bat: pred_bat: Entity switch.predbat_carbon_enable not found in namespace default 2024-05-11 09:32:34.852085 INFO AppDaemon: pred_bat: Entity switch.predbat_carbon_enable created in namespace: default 2024-05-11 09:32:34.865325 INFO pred_bat: Note: Disabled configuration item carbon_metric 2024-05-11 09:32:34.880091 INFO pred_bat: Updating HA config iboost_solar to True 2024-05-11 09:32:34.880984 WARNING pred_bat: pred_bat: Entity switch.predbat_iboost_solar not found in namespace default 2024-05-11 09:32:34.881616 INFO AppDaemon: pred_bat: Entity switch.predbat_iboost_solar created in namespace: default 2024-05-11 09:32:34.907330 INFO pred_bat: Updating HA config iboost_gas to False 2024-05-11 09:32:34.908241 WARNING pred_bat: pred_bat: Entity switch.predbat_iboost_gas not found in namespace default 2024-05-11 09:32:34.908943 INFO AppDaemon: pred_bat: Entity switch.predbat_iboost_gas created in namespace: default 2024-05-11 09:32:34.934043 INFO pred_bat: Updating HA config iboost_charging to False 2024-05-11 09:32:34.934925 WARNING pred_bat: pred_bat: Entity switch.predbat_iboost_charging not found in namespace default 2024-05-11 09:32:34.935554 INFO AppDaemon: pred_bat: Entity switch.predbat_iboost_charging created in namespace: default 2024-05-11 09:32:34.948165 INFO pred_bat: Note: Disabled configuration item iboost_gas_scale 2024-05-11 09:32:34.950314 INFO pred_bat: Note: Disabled configuration item iboost_max_energy 2024-05-11 09:32:34.952207 INFO pred_bat: Note: Disabled configuration item iboost_today 2024-05-11 09:32:34.954041 INFO pred_bat: Note: Disabled configuration item iboost_max_power 2024-05-11 09:32:34.955883 INFO pred_bat: Note: Disabled configuration item iboost_min_power 2024-05-11 09:32:34.957696 INFO pred_bat: Note: Disabled configuration item iboost_min_soc 2024-05-11 09:32:34.972963 INFO pred_bat: Updating HA config holiday_days_left to 14.0 2024-05-11 09:32:34.974602 WARNING pred_bat: pred_bat: Entity input_number.predbat_holiday_days_left not found in namespace default 2024-05-11 09:32:34.975266 INFO AppDaemon: pred_bat: Entity input_number.predbat_holiday_days_left created in namespace: default 2024-05-11 09:32:35.001526 INFO pred_bat: Updating HA config forecast_plan_hours to 24.0 2024-05-11 09:32:35.002613 WARNING pred_bat: pred_bat: Entity input_number.predbat_forecast_plan_hours not found in namespace default 2024-05-11 09:32:35.003300 INFO AppDaemon: pred_bat: Entity input_number.predbat_forecast_plan_hours created in namespace: default 2024-05-11 09:32:35.029216 INFO pred_bat: Updating HA config plan_debug to False 2024-05-11 09:32:35.030155 WARNING pred_bat: pred_bat: Entity switch.predbat_plan_debug not found in namespace default 2024-05-11 09:32:35.030801 INFO AppDaemon: pred_bat: Entity switch.predbat_plan_debug created in namespace: default 2024-05-11 09:32:35.168178 INFO pred_bat: Watch list [] 2024-05-11 09:32:35.170191 INFO pred_bat: Predbat: Next run time will be 2024-05-11 09:35:00 and then every 300 seconds 2024-05-11 09:32:35.175337 INFO pred_bat: Balance inverters will run every 60 seconds (if enabled) 2024-05-11 09:32:35.193141 CRITICAL AppDaemon: Thread thread-0 has died 2024-05-11 09:32:35.193520 CRITICAL AppDaemon: Pinned apps were: ['pred_bat'] 2024-05-11 09:32:35.193743 CRITICAL AppDaemon: Thread will be restarted 2024-05-11 09:32:35.193987 INFO AppDaemon: Adding thread 0 2024-05-11 09:32:35.194747 WARNING AppDaemon: Excessive time spent in utility loop: 3436.0ms, 3435.0ms in check_app_updates(), 1.0ms in other 2024-05-11 09:32:36.198919 CRITICAL AppDaemon: Thread thread-0 has died 2024-05-11 09:32:36.199235 CRITICAL AppDaemon: Pinned apps were: ['pred_bat'] 2024-05-11 09:32:36.199500 CRITICAL AppDaemon: Thread will be restarted 2024-05-11 09:32:36.199715 INFO AppDaemon: Adding thread 0 2024-05-11 09:32:37.204107 CRITICAL AppDaemon: Thread thread-0 has died 2024-05-11 09:32:37.204492 CRITICAL AppDaemon: Pinned apps were: ['pred_bat'] 2024-05-11 09:32:37.204787 CRITICAL AppDaemon: Thread will be restarted 2024-05-11 09:32:37.205030 INFO AppDaemon: Adding thread 0 2024-05-11 09:32:38.209674 CRITICAL AppDaemon: Thread thread-0 has died 2024-05-11 09:32:38.209999 CRITICAL AppDaemon: Pinned apps were: ['pred_bat'] 2024-05-11 09:32:38.210219 CRITICAL AppDaemon: Thread will be restarted 2024-05-11 09:32:38.210483 INFO AppDaemon: Adding thread 0 2024-05-11 09:32:39.215715 CRITICAL AppDaemon: Thread thread-0 has died 2024-05-11 09:32:39.216238 CRITICAL AppDaemon: Pinned apps were: ['pred_bat'] 2024-05-11 09:32:39.216680 CRITICAL AppDaemon: Thread will be restarted 2024-05-11 09:32:39.217094 INFO AppDaemon: Adding thread 0 2024-05-11 09:32:40.222041 CRITICAL AppDaemon: Thread thread-0 has died 2024-05-11 09:32:40.222411 CRITICAL AppDaemon: Pinned apps were: ['pred_bat'] 2024-05-11 09:32:40.222650 CRITICAL AppDaemon: Thread will be restarted 2024-05-11 09:32:40.222878 INFO AppDaemon: Adding thread 0 2024-05-11 09:32:41.227442 CRITICAL AppDaemon: Thread thread-0 has died 2024-05-11 09:32:41.227775 CRITICAL AppDaemon: Pinned apps were: ['pred_bat'] 2024-05-11 09:32:41.228024 CRITICAL AppDaemon: Thread will be restarted 2024-05-11 09:32:41.228239 INFO AppDaemon: Adding thread 0 2024-05-11 09:32:42.233124 CRITICAL AppDaemon: Thread thread-0 has died 2024-05-11 09:32:42.233512 CRITICAL AppDaemon: Pinned apps were: ['pred_bat'] 2024-05-11 09:32:42.233762 CRITICAL AppDaemon: Thread will be restarted 2024-05-11 09:32:42.234016 INFO AppDaemon: Adding thread 0 2024-05-11 09:32:43.239212 CRITICAL AppDaemon: Thread thread-0 has died 2024-05-11 09:32:43.239572 CRITICAL AppDaemon: Pinned apps were: ['pred_bat'] 2024-05-11 09:32:43.239830 CRITICAL AppDaemon: Thread will be restarted 2024-05-11 09:32:43.240070 INFO AppDaemon: Adding thread 0 2024-05-11 09:32:44.244014 CRITICAL AppDaemon: Thread thread-0 has died 2024-05-11 09:32:44.244364 CRITICAL AppDaemon: Pinned apps were: ['pred_bat'] 2024-05-11 09:32:44.244591 CRITICAL AppDaemon: Thread will be restarted 2024-05-11 09:32:44.244803 INFO AppDaemon: Adding thread 0 2024-05-11 09:32:45.249661 CRITICAL AppDaemon: Thread thread-0 has died 2024-05-11 09:32:45.249986 CRITICAL AppDaemon: Pinned apps were: ['pred_bat'] 2024-05-11 09:32:45.250206 CRITICAL AppDaemon: Thread will be restarted 2024-05-11 09:32:45.250457 INFO AppDaemon: Adding thread 0 2024-05-11 09:32:46.254819 CRITICAL AppDaemon: Thread thread-0 has died 2024-05-11 09:32:46.255160 CRITICAL AppDaemon: Pinned apps were: ['pred_bat'] 2024-05-11 09:32:46.255398 CRITICAL AppDaemon: Thread will be restarted 2024-05-11 09:32:46.255609 INFO AppDaemon: Adding thread 0 2024-05-11 09:32:47.260680 CRITICAL AppDaemon: Thread thread-0 has died 2024-05-11 09:32:47.261011 CRITICAL AppDaemon: Pinned apps were: ['pred_bat'] 2024-05-11 09:32:47.261232 CRITICAL AppDaemon: Thread will be restarted 2024-05-11 09:32:47.261486 INFO AppDaemon: Adding thread 0
The errors I'm getting after last night's update.
I got this after updating.
Not sure how to get logs like the ones above.
I got this after updating.
![]()
Not sure how to get logs like the ones above.
You can get them from AppDaemon logs
I got this after updating.
![]()
Not sure how to get logs like the ones above.
Details of where to find your log file is in the output data part of the documentation https://springfall2008.github.io/batpred/output-data/#predbat-logfile
Same here - PredBat is dead - I'm tryhing to get back to a previous version but it looks like I'm going to have to re-install. I've attached my log appdaemon.log.zip
FYI the update started and then just didn't finish. I eventually restarted HA. after 20 hrs The update completed but I'm left with a corrupt version of PB by the looks.
This is what PredBat looks like right now - how can I get back to a working version please? Currently on v7.18.3
I'm now on v7.18.4 still hasn't helped I'm afraid. Although I do now get a status.
Ok got the logs
2024-05-11 08:04:21.376 WARNING (SyncWorker_2) [homeassistant.loader] We found a custom integration config_editor which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant 2024-05-11 08:04:21.378 WARNING (SyncWorker_2) [homeassistant.loader] We found a custom integration octopus_energy which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant 2024-05-11 08:04:21.380 WARNING (SyncWorker_2) [homeassistant.loader] We found a custom integration solcast_solar which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant 2024-05-11 08:04:21.381 WARNING (SyncWorker_2) [homeassistant.loader] We found a custom integration hacs which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant 2024-05-11 08:04:21.382 WARNING (SyncWorker_2) [homeassistant.loader] We found a custom integration octopus_intelligent which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant 2024-05-11 08:04:21.383 WARNING (SyncWorker_2) [homeassistant.loader] We found a custom integration octopusagile which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant 2024-05-11 08:04:21.384 WARNING (SyncWorker_2) [homeassistant.loader] We found a custom integration localtuya which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant 2024-05-11 08:04:21.636 WARNING (MainThread) [homeassistant.helpers.translation] Failed to load integration for translation: Integration 'resources' not found. 2024-05-11 08:04:24.685 ERROR (MainThread) [homeassistant.setup] Setup failed for 'resources': Integration not found. 2024-05-11 08:04:25.192 WARNING (ImportExecutor_0) [homeassistant.components.climate.const] CURRENT_HVAC_HEAT was used from localtuya, this is a deprecated constant which will be removed in HA Core 2025.1. Use HVACAction.HEATING instead, please report it to the author of the 'localtuya' custom integration 2024-05-11 08:04:25.202 WARNING (ImportExecutor_0) [homeassistant.components.climate.const] CURRENT_HVAC_IDLE was used from localtuya, this is a deprecated constant which will be removed in HA Core 2025.1. Use HVACAction.IDLE instead, please report it to the author of the 'localtuya' custom integration 2024-05-11 08:04:25.213 WARNING (ImportExecutor_0) [homeassistant.components.climate.const] HVAC_MODE_AUTO was used from localtuya, this is a deprecated constant which will be removed in HA Core 2025.1. Use HVACMode.AUTO instead, please report it to the author of the 'localtuya' custom integration 2024-05-11 08:04:25.221 WARNING (ImportExecutor_0) [homeassistant.components.climate.const] HVAC_MODE_HEAT was used from localtuya, this is a deprecated constant which will be removed in HA Core 2025.1. Use HVACMode.HEAT instead, please report it to the author of the 'localtuya' custom integration 2024-05-11 08:04:25.228 WARNING (ImportExecutor_0) [homeassistant.components.climate.const] HVAC_MODE_OFF was used from localtuya, this is a deprecated constant which will be removed in HA Core 2025.1. Use HVACMode.OFF instead, please report it to the author of the 'localtuya' custom integration 2024-05-11 08:04:25.233 WARNING (ImportExecutor_0) [homeassistant.components.climate.const] SUPPORT_PRESET_MODE was used from localtuya, this is a deprecated constant which will be removed in HA Core 2025.1. Use ClimateEntityFeature.PRESET_MODE instead, please report it to the author of the 'localtuya' custom integration 2024-05-11 08:04:25.239 WARNING (ImportExecutor_0) [homeassistant.components.climate.const] SUPPORT_TARGET_TEMPERATURE was used from localtuya, this is a deprecated constant which will be removed in HA Core 2025.1. Use ClimateEntityFeature.TARGET_TEMPERATURE instead, please report it to the author of the 'localtuya' custom integration 2024-05-11 08:04:25.244 WARNING (ImportExecutor_0) [homeassistant.components.climate.const] SUPPORT_TARGET_TEMPERATURE_RANGE was used from localtuya, this is a deprecated constant which will be removed in HA Core 2025.1. Use ClimateEntityFeature.TARGET_TEMPERATURE_RANGE instead, please report it to the author of the 'localtuya' custom integration 2024-05-11 08:04:25.250 WARNING (ImportExecutor_0) [homeassistant.const] TEMP_CELSIUS was used from localtuya, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfTemperature.CELSIUS instead, please report it to the author of the 'localtuya' custom integration 2024-05-11 08:04:25.256 WARNING (ImportExecutor_0) [homeassistant.const] TEMP_FAHRENHEIT was used from localtuya, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfTemperature.FAHRENHEIT instead, please report it to the author of the 'localtuya' custom integration 2024-05-11 08:04:25.267 WARNING (ImportExecutor_0) [homeassistant.components.cover] SUPPORT_CLOSE was used from localtuya, this is a deprecated constant which will be removed in HA Core 2025.1. Use CoverEntityFeature.CLOSE instead, please report it to the author of the 'localtuya' custom integration 2024-05-11 08:04:25.272 WARNING (ImportExecutor_0) [homeassistant.components.cover] SUPPORT_OPEN was used from localtuya, this is a deprecated constant which will be removed in HA Core 2025.1. Use CoverEntityFeature.OPEN instead, please report it to the author of the 'localtuya' custom integration 2024-05-11 08:04:25.277 WARNING (ImportExecutor_0) [homeassistant.components.cover] SUPPORT_SET_POSITION was used from localtuya, this is a deprecated constant which will be removed in HA Core 2025.1. Use CoverEntityFeature.SET_POSITION instead, please report it to the author of the 'localtuya' custom integration 2024-05-11 08:04:25.283 WARNING (ImportExecutor_0) [homeassistant.components.cover] SUPPORT_STOP was used from localtuya, this is a deprecated constant which will be removed in HA Core 2025.1. Use CoverEntityFeature.STOP instead, please report it to the author of the 'localtuya' custom integration 2024-05-11 08:04:25.288 WARNING (ImportExecutor_0) [homeassistant.components.cover] SUPPORT_CLOSE was used from localtuya, this is a deprecated constant which will be removed in HA Core 2025.1. Use CoverEntityFeature.CLOSE instead, please report it to the author of the 'localtuya' custom integration 2024-05-11 08:04:25.292 WARNING (ImportExecutor_0) [homeassistant.components.cover] SUPPORT_OPEN was used from localtuya, this is a deprecated constant which will be removed in HA Core 2025.1. Use CoverEntityFeature.OPEN instead, please report it to the author of the 'localtuya' custom integration 2024-05-11 08:04:25.297 WARNING (ImportExecutor_0) [homeassistant.components.cover] SUPPORT_SET_POSITION was used from localtuya, this is a deprecated constant which will be removed in HA Core 2025.1. Use CoverEntityFeature.SET_POSITION instead, please report it to the author of the 'localtuya' custom integration 2024-05-11 08:04:25.308 WARNING (ImportExecutor_0) [homeassistant.components.cover] SUPPORT_STOP was used from localtuya, this is a deprecated constant which will be removed in HA Core 2025.1. Use CoverEntityFeature.STOP instead, please report it to the author of the 'localtuya' custom integration 2024-05-11 08:04:25.328 WARNING (ImportExecutor_0) [homeassistant.components.fan] SUPPORT_DIRECTION was used from localtuya, this is a deprecated constant which will be removed in HA Core 2025.1. Use FanEntityFeature.DIRECTION instead, please report it to the author of the 'localtuya' custom integration 2024-05-11 08:04:25.334 WARNING (ImportExecutor_0) [homeassistant.components.fan] SUPPORT_OSCILLATE was used from localtuya, this is a deprecated constant which will be removed in HA Core 2025.1. Use FanEntityFeature.OSCILLATE instead, please report it to the author of the 'localtuya' custom integration 2024-05-11 08:04:25.341 WARNING (ImportExecutor_0) [homeassistant.components.fan] SUPPORT_SET_SPEED was used from localtuya, this is a deprecated constant which will be removed in HA Core 2025.1. Use FanEntityFeature.SET_SPEED instead, please report it to the author of the 'localtuya' custom integration 2024-05-11 08:04:25.347 WARNING (ImportExecutor_0) [homeassistant.components.fan] SUPPORT_DIRECTION was used from localtuya, this is a deprecated constant which will be removed in HA Core 2025.1. Use FanEntityFeature.DIRECTION instead, please report it to the author of the 'localtuya' custom integration 2024-05-11 08:04:25.353 WARNING (ImportExecutor_0) [homeassistant.components.fan] SUPPORT_OSCILLATE was used from localtuya, this is a deprecated constant which will be removed in HA Core 2025.1. Use FanEntityFeature.OSCILLATE instead, please report it to the author of the 'localtuya' custom integration 2024-05-11 08:04:25.359 WARNING (ImportExecutor_0) [homeassistant.components.fan] SUPPORT_SET_SPEED was used from localtuya, this is a deprecated constant which will be removed in HA Core 2025.1. Use FanEntityFeature.SET_SPEED instead, please report it to the author of the 'localtuya' custom integration 2024-05-11 08:04:25.393 WARNING (MainThread) [homeassistant.helpers.frame] Detected that custom integration 'localtuya' accesses hass.helpers.service. This is deprecated and will stop working in Home Assistant 2024.11, it should be updated to import functions used from service directly at custom_components/localtuya/init.py, line 164: hass.helpers.service.async_register_admin_service(, please create a bug report at https://github.com/rospogrigio/localtuya/issues 2024-05-11 08:04:38.731 WARNING (MainThread) [homeassistant.helpers.frame] Detected that custom integration 'hacs' accesses hass.components.frontend. This is deprecated and will stop working in Home Assistant 2024.9, it should be updated to import functions used from frontend directly at custom_components/hacs/frontend.py, line 68: hass.components.frontend.async_register_built_in_panel(, please create a bug report at https://github.com/hacs/integration/issues 2024-05-11 08:04:39.895 WARNING (MainThread) [homeassistant.components.sensor] Entity sensor.solcast_pv_forecast_forecast_today (<class 'custom_components.solcast_solar.sensor.SolcastSensor'>) is using state class 'measurement' which is impossible considering device class ('energy') it is using; expected None or one of 'total', 'total_increasing'; Please update your configuration if your entity is manually configured, otherwise create a bug report at https://github.com/oziee/ha-solcast-solar/issues 2024-05-11 08:04:41.512 WARNING (ImportExecutor_0) [homeassistant.helpers.typing] EventType was used from octopus_energy, this is a deprecated alias which will be removed in HA Core 2025.5. Use homeassistant.core.Event instead, please report it to the author of the 'octopus_energy' custom integration 2024-05-11 08:04:41.523 WARNING (ImportExecutor_0) [homeassistant.helpers.typing] EventType was used from octopus_energy, this is a deprecated alias which will be removed in HA Core 2025.5. Use homeassistant.core.Event instead, please report it to the author of the 'octopus_energy' custom integration 2024-05-11 08:04:41.533 WARNING (ImportExecutor_0) [homeassistant.helpers.typing] EventType was used from octopus_energy, this is a deprecated alias which will be removed in HA Core 2025.5. Use homeassistant.core.Event instead, please report it to the author of the 'octopus_energy' custom integration 2024-05-11 08:04:41.542 WARNING (ImportExecutor_0) [homeassistant.helpers.typing] EventType was used from octopus_energy, this is a deprecated alias which will be removed in HA Core 2025.5. Use homeassistant.core.Event instead, please report it to the author of the 'octopus_energy' custom integration 2024-05-11 08:04:41.554 WARNING (ImportExecutor_0) [homeassistant.helpers.typing] EventType was used from octopus_energy, this is a deprecated alias which will be removed in HA Core 2025.5. Use homeassistant.core.Event instead, please report it to the author of the 'octopus_energy' custom integration
A couple of Add-on Restarts in a row:
Settings > Addons > Appdaemon-predbat > Restart
Have cleared the errors for me, possibly a caching issue?
Jumped from v. 7.18.2 to 7.18.4, restarted the AppDaemon and it's working fine now. Thank you, very much, Trefor for you time and effort. I can't afford much but I made a small payment for all your work. Thank you
Hi, Are you able to share how you got it to work? I've done the update and restarted but same issue.
Hi, Are you able to share how you got it to work? I've done the update and restarted but same issue.
Me personally I didn't do anything specific, just update directly from predbat and restarted the AppDaemon even though from my past experience it is not necessary if you update from the Predbat or auto update but only if you update from HACS it is necessary to restart the AppDaemon. I restarted just to make sure everything is being restarted. I need to mention I have installed on my machine the initial Predbat, the one you install Predbat after the AppDaemon, but I don't think it should matter. Initially it displayed an error but it cleared after couple of minutes, probably it takes a while until everything it gets restarted.
Evening Treffor. Thanks for all your efforts on this one. I've got everything back by installing 7.18.6
If you get time to try this all should be fixed on 'main' but feel free to wait for the release also
I decided to uninstall and reinstall. Sometimes a clean slate is the best remedy in Home Assistant!
v7.18.6 fixed it for me. Thanks Trefor.
Describe the bug s6-rc: info: service legacy-cont-init: stopping s6-rc: info: service legacy-cont-init successfully stopped s6-rc: info: service fix-attrs: stopping s6-rc: info: service base-addon-log-level: stopping s6-rc: info: service fix-attrs successfully stopped s6-rc: info: service base-addon-log-level successfully stopped s6-rc: info: service base-addon-banner: stopping s6-rc: info: service base-addon-banner successfully stopped s6-rc: info: service s6rc-oneshot-runner: stopping s6-rc: info: service s6rc-oneshot-runner successfully stopped s6-rc: info: service s6rc-oneshot-runner: starting s6-rc: info: service s6rc-oneshot-runner successfully started s6-rc: info: service base-addon-banner: starting ----------------------------------------------------------- Add-on: appdaemon-predbat Predbat pre-install in AppDaemon ----------------------------------------------------------- Add-on version: 1.0.10 You are running the latest version of this add-on. System: Home Assistant OS 12.3 (aarch64 / raspberrypi4-64) Home Assistant Core: 2024.5.3 Home Assistant Supervisor: 2024.05.1 ----------------------------------------------------------- Please, share the above information when looking for help or support in, e.g., GitHub, forums or the Discord chat. ----------------------------------------------------------- s6-rc: info: service base-addon-banner successfully started s6-rc: info: service fix-attrs: starting s6-rc: info: service base-addon-log-level: starting s6-rc: info: service fix-attrs successfully started s6-rc: info: service base-addon-log-level successfully started s6-rc: info: service legacy-cont-init: starting s6-rc: info: service legacy-cont-init successfully started s6-rc: info: service init-appdaemon: starting s6-rc: info: service init-appdaemon successfully started s6-rc: info: service appdaemon: starting s6-rc: info: service appdaemon successfully started s6-rc: info: service legacy-services: starting [05:49:49] INFO: Starting AppDaemon... s6-rc: info: service legacy-services successfully started 2024-05-11 05:50:33.841988 WARNING pred_bat: ------------------------------------------------------------ 2024-05-11 05:50:33.842629 WARNING pred_bat: Unexpected error in worker for App pred_bat: 2024-05-11 05:50:33.843065 WARNING pred_bat: Worker Ags: {'id': 'dcdd68f2be7c4f8e8e22c3dc2e3bcd6f', 'name': 'pred_bat', 'objectid': '50b7b018088e4366b03e0e0b2e67ba2b', 'type': 'scheduler', 'function': <bound method PredBat.run_time_loop of <predbat.PredBat object at 0x7f8e7c8390>>, 'pin_app': True, 'pin_thread': 0, 'kwargs': {'interval': 300, 'random_start': 0, 'random_end': 0, 'thread_id': 'thread-0'}} 2024-05-11 05:50:33.843544 WARNING pred_bat: ------------------------------------------------------------ 2024-05-11 05:50:33.848306 WARNING pred_bat: Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/appdaemon/threading.py", line 1022, in worker funcref(self.AD.sched.sanitize_timer_kwargs(app, args["kwargs"])) File "/usr/lib/python3.11/site-packages/appdaemon/adbase.py", line 35, in f_app_lock return f(*args, *kw) ^^^^^^^^^^^^^^ File "/config/apps/predbat.py", line 14430, in run_time_loop raise e File "/config/apps/predbat.py", line 14426, in run_time_loop self.update_pred(scheduled=True) File "/usr/lib/python3.11/site-packages/appdaemon/adbase.py", line 35, in f_app_lock return f(args, **kw) ^^^^^^^^^^^^^^ File "/config/apps/predbat.py", line 13364, in update_pred self.fetch_inverter_data() File "/config/apps/predbat.py", line 12898, in fetch_inverter_data curve = inverter.find_charge_curve(discharge=True) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/apps/predbat.py", line 2529, in find_charge_curve battery_power_data = self.base.get_history_wrapper(entity_id=battery_power_sensor, days=self.base.max_days_previous) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/apps/predbat.py", line 5029, in get_history_wrapper raise ValueError ValueError 2024-05-11 05:50:33.848988 WARNING pred_bat: ------------------------------------------------------------ 2024-05-11 05:55:19.619784 WARNING pred_bat: ------------------------------------------------------------ 2024-05-11 05:55:19.620382 WARNING pred_bat: Unexpected error in worker for App pred_bat: 2024-05-11 05:55:19.620980 WARNING pred_bat: Worker Ags: {'id': 'dcdd68f2be7c4f8e8e22c3dc2e3bcd6f', 'name': 'pred_bat', 'objectid': '50b7b018088e4366b03e0e0b2e67ba2b', 'type': 'scheduler', 'function': <bound method PredBat.run_time_loop of <predbat.PredBat object at 0x7f8e7c8390>>, 'pin_app': True, 'pin_thread': 0, 'kwargs': {'interval': 300, 'random_start': 0, 'random_end': 0, 'thread_id': 'thread-0'}} 2024-05-11 05:55:19.621500 WARNING pred_bat: ------------------------------------------------------------ 2024-05-11 05:55:19.624572 WARNING pred_bat: Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/appdaemon/threading.py", line 1022, in worker funcref(self.AD.sched.sanitize_timer_kwargs(app, args["kwargs"])) File "/usr/lib/python3.11/site-packages/appdaemon/adbase.py", line 35, in f_app_lock return f(*args, *kw) ^^^^^^^^^^^^^^ File "/config/apps/predbat.py", line 14430, in run_time_loop raise e File "/config/apps/predbat.py", line 14426, in run_time_loop self.update_pred(scheduled=True) File "/usr/lib/python3.11/site-packages/appdaemon/adbase.py", line 35, in f_app_lock return f(args, **kw) ^^^^^^^^^^^^^^ File "/config/apps/predbat.py", line 13364, in update_pred self.fetch_inverter_data() File "/config/apps/predbat.py", line 12898, in fetch_inverter_data curve = inverter.find_charge_curve(discharge=True) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/apps/predbat.py", line 2529, in find_charge_curve battery_power_data = self.base.get_history_wrapper(entity_id=battery_power_sensor, days=self.base.max_days_previous) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/apps/predbat.py", line 5029, in get_history_wrapper raise ValueError ValueError 2024-05-11 05:55:19.626390 WARNING pred_bat: ------------------------------------------------------------
Environment details