Skip to content

Commit

Permalink
EV_adaptive_charging: Use EmporiaProxy
Browse files Browse the repository at this point in the history
Signed-off-by: Jeremy Compostella <[email protected]>
  • Loading branch information
jeremy-compostella committed Aug 23, 2021
1 parent 63919ee commit 454cd47
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions EV_adaptive_charging.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
from pyemvue.enums import Scale

from consumer import Consumer, MyWallBox
from sensor import MyVue2, CarData
from sensor import EmporiaProxy, CarData
from tools import init, debug, get_utility, read_settings

def log_state(usage, charger):
Expand Down Expand Up @@ -65,7 +65,7 @@ def main():
consumers.append(klass(config[current]))
else:
consumers.append(Consumer(config[current]))
vue = MyVue2(config['Emporia'])
vue = EmporiaProxy(config['EmporiaProxy'])
car_data = CarData(config['CarData'])
utility = get_utility()
debug("... is now ready to run")
Expand Down

0 comments on commit 454cd47

Please sign in to comment.