stevebuk1 / pv_opt

Home Assistant PV Optimisation for Solis Inverters
MIT License
0 stars 0 forks source link

Dev: Logging does not differentiate between whether car is charging or whether car is not plugged in. #3

Closed stevebuk1 closed 2 weeks ago

stevebuk1 commented 2 weeks ago

Currently, the Pv_opt logging for Evs does not differentiate between car not plugged in or car already charging, as follows:

12:40:30     INFO: Checking EV Status
12:40:30     INFO: ------------------
12:40:30     INFO: 
12:40:30     INFO: EV not plugged in, or already charging. IOG tariff not reloaded

Whilst both states mean a tariff reload is not required, to assist with future debugging, extend "_check_car_plugin" to add additional differentiation so its clear wether the car is not plugged in or whether the car is charging.

stevebuk1 commented 2 weeks ago

Closed by commit referenced above.