diff --git a/.devcontainer/configuration.yaml b/.devcontainer/configuration.yaml index b579847..b67e076 100644 --- a/.devcontainer/configuration.yaml +++ b/.devcontainer/configuration.yaml @@ -6,3 +6,5 @@ logger: custom_components.silencescooter: debug # If you need to debug uncommment the line below (doc: https://www.home-assistant.io/integrations/debugpy/) debugpy: + start: true + wait: true \ No newline at end of file diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 4c2cf83..488c9ef 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -1,9 +1,9 @@ -// See https://aka.ms/vscode-remote/devcontainer.json for format details. { - "image": "ludeeus/container:integration-debian", - "name": "Silence Scooter Integration integration development", + "image": "ghcr.io/ludeeus/devcontainer/integration:stable", "context": "..", - "appPort": ["9123:8123"], + "appPort": [ + "8123:8123" + ], "postCreateCommand": "container install", "extensions": [ "ms-python.python", @@ -15,14 +15,18 @@ "files.eol": "\n", "editor.tabSize": 4, "terminal.integrated.shell.linux": "/bin/bash", - "python.pythonPath": "/usr/bin/python3", + "python.pythonPath": "/usr/local/python/bin/python", "python.analysis.autoSearchPaths": false, "python.linting.pylintEnabled": true, "python.linting.enabled": true, + "python.linting.pylintArgs": [ + "--disable", + "import-error" + ], "python.formatting.provider": "black", "editor.formatOnPaste": false, "editor.formatOnSave": true, "editor.formatOnType": true, "files.trimTrailingWhitespace": true } -} +} \ No newline at end of file diff --git a/custom_components/silencescooter/manifest.json b/custom_components/silencescooter/manifest.json index ec74284..fdca3da 100644 --- a/custom_components/silencescooter/manifest.json +++ b/custom_components/silencescooter/manifest.json @@ -1,7 +1,7 @@ { "domain": "silencescooter", "name": "Silence Scooter", - "version": "v0.8", + "version": "v0.8.1", "documentation": "https://github.com/lorenzo-deluca/homeassistant-silence/", "issue_tracker": "https://github.com/lorenzo-deluca/homeassistant-silence/issues", "dependencies": [], diff --git a/custom_components/silencescooter/sensor.py b/custom_components/silencescooter/sensor.py index 6c1d5e7..53c28c4 100644 --- a/custom_components/silencescooter/sensor.py +++ b/custom_components/silencescooter/sensor.py @@ -18,7 +18,7 @@ import homeassistant.helpers.config_validation as cv -__version__ = '0.8' +__version__ = '0.8.1' _LOGGER = logging.getLogger(__name__)