diff --git a/main.py b/main.py index f8b1d49..86e1a56 100644 --- a/main.py +++ b/main.py @@ -13,8 +13,8 @@ from aiounifi.models.traffic_route import MatchingTarget HOST = os.getenv("UNIFI_HOST", "192.168.1.1") PORT = int(os.getenv("UNIFI_PORT", 443)) -USERNAME = os.getenv("UNIFI_USER") -PASSWORD = os.getenv("UNIFI_PASS") +USER = os.getenv("UNIFI_USER") +PASS = os.getenv("UNIFI_PASS") LOGGER = logging.getLogger(__name__) @@ -24,8 +24,8 @@ def get_configuration(session: aiohttp.ClientSession) -> Configuration: return Configuration( session, HOST, - username=USERNAME, - password=PASSWORD, + username=USER, + password=PASS, port=PORT, )