Skip to content

Commit

Permalink
Merge pull request #16 from natekspencer/devcontainer
Browse files Browse the repository at this point in the history
Update dev environment
  • Loading branch information
natekspencer authored Feb 3, 2025
2 parents dcec64c + cebdfc2 commit 3be60c8
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// See https://aka.ms/vscode-remote/devcontainer.json for format details.
{
"name": "Home Assistant integration development",
"image": "mcr.microsoft.com/devcontainers/python:1-3.12-bullseye",
"image": "mcr.microsoft.com/devcontainers/python:1-3.13-bookworm",
"postCreateCommand": "scripts/setup",
"postAttachCommand": "scripts/setup",
"forwardPorts": [8123],
Expand Down
1 change: 1 addition & 0 deletions config/configuration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ automation:
bluetooth:
frontend:
history:
isal:
logbook:

homeassistant:
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Home Assistant
homeassistant>=2024.6
homeassistant>=2025.1
numpy
PyTurboJPEG

Expand Down
2 changes: 2 additions & 0 deletions scripts/setup
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/usr/bin/env bash

sudo apt-get update && sudo apt-get install libturbojpeg0 -y

set -e

cd "$(dirname "$0")/.."
Expand Down

0 comments on commit 3be60c8

Please sign in to comment.