Skip to content
This repository was archived by the owner on Aug 27, 2022. It is now read-only.

Commit 09b6a21

Browse files
committed
Add more debug logs
1 parent 3985237 commit 09b6a21

File tree

2 files changed

+9
-11
lines changed

2 files changed

+9
-11
lines changed

.devcontainer/devcontainer.json

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,18 @@
1-
// See https://aka.ms/vscode-remote/devcontainer.json for format details.
21
{
32
"name": "Custom integration authenticated",
4-
"image": "ludeeus/devcontainer:integration",
3+
"image": "ludeeus/container:integration",
54
"context": "..",
65
"appPort": [
76
"9123:8123"
87
],
9-
"postCreateCommand": "dc install",
10-
"runArgs": [
11-
"-v",
12-
"${env:HOME}${env:USERPROFILE}/.ssh:/tmp/.ssh" // This is added so you can push from inside the container
13-
],
8+
"postCreateCommand": "container install",
149
"extensions": [
1510
"ms-python.python",
1611
"github.vscode-pull-request-github",
17-
"tabnine.tabnine-vscode"
18-
],
19-
"settings": {
12+
"ryanluker.vscode-coverage-gutters",
13+
"ms-python.vscode-pylance"
14+
],
15+
"settings": {
2016
"files.eol": "\n",
2117
"editor.tabSize": 4,
2218
"terminal.integrated.shell.linux": "/bin/bash",
@@ -28,5 +24,5 @@
2824
"editor.formatOnSave": true,
2925
"editor.formatOnType": true,
3026
"files.trimTrailingWhitespace": true
31-
}
27+
}
3228
}

custom_components/authenticated/sensor.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,8 @@ def update(self):
157157
users, tokens = load_authentications(
158158
self.hass.config.path(".storage/auth"), self.exclude
159159
)
160+
_LOGGER.debug("Users %s", users)
161+
_LOGGER.debug("Access %s", tokens)
160162
for access in tokens:
161163
try:
162164
ValidateIP(access)

0 commit comments

Comments
 (0)