|
self.car_charging_limit = (float(self.get_arg('car_charging_limit', 100)) * self.car_charging_battery_size) / 100.0 |
The car_charge_limit is read from app.yaml, but overwrites the charge limit read from the octopus intelligent details. Probably want to read the "static" value first, then overwrite with the octopus value if available.
batpred/predbat.py
Line 1792 in 0713c71
The
car_charge_limitis read fromapp.yaml, but overwrites the charge limit read from the octopus intelligent details. Probably want to read the "static" value first, then overwrite with the octopus value if available.