diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 7517e1e..32756f9 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -10,8 +10,9 @@ "extensions": [ "ms-python.python", "ms-python.black-formatter", - "ms-python.vscode-pylance", "ms-python.isort", + "ms-python.pylint", + "ms-python.vscode-pylance", "esbenp.prettier-vscode", "github.vscode-pull-request-github", "ryanluker.vscode-coverage-gutters" @@ -21,8 +22,6 @@ "editor.tabSize": 4, "python.pythonPath": "/usr/bin/python3", "python.analysis.autoSearchPaths": false, - "python.linting.pylintEnabled": true, - "python.linting.enabled": true, "python.formatting.provider": "black", "editor.formatOnPaste": false, "editor.formatOnSave": true, diff --git a/config/configuration.yaml b/config/configuration.yaml index f2319fc..14b280d 100644 --- a/config/configuration.yaml +++ b/config/configuration.yaml @@ -5,6 +5,16 @@ frontend: history: logbook: +homeassistant: + name: HACS-Pura + auth_providers: + - type: trusted_networks + trusted_networks: + - 127.0.0.1 + - ::1 + allow_bypass_login: true + - type: homeassistant + logger: default: info logs: diff --git a/requirements.txt b/requirements.txt index 69fa31b..3bc45a3 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,8 +1,15 @@ -black==23.3.0 -colorlog==6.7.0 +# Home Assistant +homeassistant>=2023.12 +home-assistant-frontend +numpy + +# Integration +pypura deepdiff -homeassistant>=2023.9 + +# Development +black +colorlog==6.7.0 pip>=21.0 pylint>=2.17.3 -pypura ruff==0.0.255