Add optional Home Assistant integration for battery percentage tracking
This commit is contained in:
@@ -15,6 +15,8 @@ def app():
|
||||
SECRET_KEY = "test-secret"
|
||||
SQLALCHEMY_TRACK_MODIFICATIONS = False
|
||||
TESTING = True
|
||||
HOMEASSISTANT_URL = None # prevent HA poller from starting in tests
|
||||
HOMEASSISTANT_API_KEY = None
|
||||
|
||||
from app import create_app
|
||||
flask_app = create_app(TestConfig)
|
||||
|
||||
Reference in New Issue
Block a user