From c48744a0046ebe8c8c282a92209fc2a4f472e909 Mon Sep 17 00:00:00 2001 From: JoshuaDodds Date: Fri, 10 Jan 2025 09:22:04 +0100 Subject: [PATCH] adjustment to config directive naming --- .env.example | 2 +- main.py | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.env.example b/.env.example index 9b8ec2b..667371d 100644 --- a/.env.example +++ b/.env.example @@ -16,7 +16,7 @@ ACTIVE_MODULES='[{"sync": {"ev_charge_controller": false, "energy_broker": false HOME_CONNECT_APPLIANCE_SCHEDULING=False # Enable / disable dynamic buy and sell decisions -DYNAMIC_ESS_NET_METERING_ENABLED=False +ESS_NET_METERING_ENABLED=False # Rate in Watts to export energy to the grid from the ESS ESS_EXPORT_AC_SETPOINT=-10000.0 diff --git a/main.py b/main.py index 9d526ae..ef0b906 100644 --- a/main.py +++ b/main.py @@ -25,7 +25,6 @@ STATE = GlobalStateClient() ACTIVE_MODULES = json.loads(retrieve_setting('ACTIVE_MODULES')) -DYNAMIC_ESS_NET_METERING_ENABLED = bool(retrieve_setting('DYNAMIC_ESS_NET_METERING_ENABLED')) or False HOME_CONNECT_APPLIANCE_SCHEDULING = bool(retrieve_setting("HOME_CONNECT_APPLIANCE_SCHEDULING")) or False def ev_charge_controller(): EvCharger().main()