This commit is contained in:
2026-02-21 16:55:10 +01:00
commit 1b8bf79d46
49 changed files with 4347 additions and 0 deletions

13
backend/app/config.py Normal file
View File

@@ -0,0 +1,13 @@
from pydantic_settings import BaseSettings
class Settings(BaseSettings):
ha_base_url: str = "http://10.0.0.2:8123"
ha_token: str = ""
database_url: str = "sqlite:///./data/ha_explorer.db"
cors_origins: list[str] = ["http://localhost:5173"]
model_config = {"env_prefix": ""}
settings = Settings()