Skip to content

Commit 2baed6c

Browse files
committed
Adjust development environment for python 3.12
1 parent 079e3d1 commit 2baed6c

File tree

3 files changed

+16
-6
lines changed

3 files changed

+16
-6
lines changed

.devcontainer/devcontainer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// See https://aka.ms/vscode-remote/devcontainer.json for format details.
22
{
33
"name": "Home Assistant integration development",
4-
"image": "mcr.microsoft.com/vscode/devcontainers/python:0-3.11-bullseye",
4+
"image": "mcr.microsoft.com/devcontainers/python:1-3.12-bullseye",
55
"postCreateCommand": ".devcontainer/setup",
66
"postAttachCommand": ".devcontainer/setup",
77
"forwardPorts": [8123],

config/configuration.yaml

+10
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,16 @@ history:
66
logbook:
77
zeroconf:
88

9+
homeassistant:
10+
name: HACS-Vivint
11+
auth_providers:
12+
- type: trusted_networks
13+
trusted_networks:
14+
- 127.0.0.1
15+
- ::1
16+
allow_bypass_login: true
17+
- type: homeassistant
18+
919
logger:
1020
default: info
1121
logs:

requirements.txt

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
# Home Assistant
2-
homeassistant>=2023.12
2+
homeassistant>=2024.4
33
home-assistant-frontend
44
python-dateutil
5+
numpy
56

67
# Integration
7-
vivintpy>=2023.3.7
8+
vivintpy
89

910
# Development
10-
colorlog==6.7.0
11+
colorlog
1112
pip>=21.0
12-
pylint>=2.17.3
13-
ruff==0.0.255
13+
ruff

0 commit comments

Comments
 (0)