1
0

Compare commits

...

77 Commits

14 changed files with 69 additions and 58 deletions

View File

@@ -3,7 +3,12 @@ FROM ghcr.io/home-assistant/devcontainer:addons
RUN \
apt-get update \
&& apt-get install -y --no-install-recommends \
python3-pip
python3-pip \
python3-venv
ENV VIRTUAL_ENV=/opt/venv
RUN python3 -m venv $VIRTUAL_ENV
ENV PATH="$VIRTUAL_ENV/bin:$PATH"
COPY script/requirements.txt /

View File

@@ -14,23 +14,28 @@
"containerEnv": {
"WORKSPACE_DIRECTORY": "${containerWorkspaceFolder}"
},
"extensions": [
"timonwong.shellcheck",
"esbenp.prettier-vscode"
],
"mounts": [
"type=volume,target=/var/lib/docker"
],
"settings": {
"terminal.integrated.profiles.linux": {
"zsh": {
"path": "/usr/bin/zsh"
"customizations": {
"vscode": {
"extensions": [
"timonwong.shellcheck",
"esbenp.prettier-vscode",
"ms-python.python"
],
"mounts": [
"type=volume,target=/var/lib/docker"
],
"settings": {
"terminal.integrated.profiles.linux": {
"zsh": {
"path": "/usr/bin/zsh"
}
},
"terminal.integrated.defaultProfile.linux": "zsh",
"editor.formatOnPaste": false,
"editor.formatOnSave": true,
"editor.formatOnType": true,
"files.trimTrailingWhitespace": true
}
},
"terminal.integrated.defaultProfile.linux": "zsh",
"editor.formatOnPaste": false,
"editor.formatOnSave": true,
"editor.formatOnType": true,
"files.trimTrailingWhitespace": true
}
}
}

View File

@@ -15,10 +15,10 @@ jobs:
runs-on: ubuntu-latest
continue-on-error: true
steps:
- uses: actions/checkout@v3.5.3
- uses: actions/setup-python@v4
- uses: actions/checkout@v4.1.1
- uses: actions/setup-python@v4.8.0
with:
python-version: '3.x'
python-version: '3.11'
- run: pip install -r script/requirements.txt
- run: script/bump-version.py ${{ github.event.inputs.version }}
- name: Write Beta changelog

View File

@@ -19,20 +19,20 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3.5.3
- uses: actions/checkout@v4.1.1
- name: Log in to the GitHub container registry
uses: docker/login-action@v2.2.0
uses: docker/login-action@v3.0.0
if: github.event_name != 'pull_request'
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Set up QEMU
uses: docker/setup-qemu-action@v2.2.0
uses: docker/setup-qemu-action@v3.0.0
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2.7.0
uses: docker/setup-buildx-action@v3.0.0
- name: Build and Push
uses: docker/build-push-action@v4.1.1
uses: docker/build-push-action@v5.1.0
with:
context: .
file: .devcontainer/Dockerfile

View File

@@ -19,16 +19,16 @@ jobs:
channel: dev
steps:
- name: ⤵️ Check out code from GitHub
uses: actions/checkout@v3.5.3
uses: actions/checkout@v4.1.1
- name: 🛠 Setup Python
uses: actions/setup-python@v4
uses: actions/setup-python@v4.8.0
with:
python-version: '3.x'
python-version: '3.11'
- name: 🛠 Install dependencies
run: pip install -r script/requirements.txt
- name: 🛠 Generate files from template
run: python script/generate.py ${{ matrix.channels.channel }}
- name: 🚀 Run Home Assistant Add-on Lint on ${{ matrix.channels.channel }}
uses: frenck/action-addon-linter@v2.13.1
uses: frenck/action-addon-linter@v2.15.0
with:
path: "./${{ matrix.channels.folder }}"

View File

@@ -1,12 +1,12 @@
## 2023.8.0b2
## 2024.2.1
- Read string of bool env and match against well known values [esphome#5232](https://github.com/esphome/esphome/pull/5232) by [@jesserockz](https://github.com/jesserockz)
- fix aeha data template [esphome#5231](https://github.com/esphome/esphome/pull/5231) by [@ssieb](https://github.com/ssieb)
- Expose start to speaker interface [esphome#5228](https://github.com/esphome/esphome/pull/5228) by [@jesserockz](https://github.com/jesserockz)
- New features added for Haier integration [esphome#5196](https://github.com/esphome/esphome/pull/5196) by [@paveldn](https://github.com/paveldn)
- pca9554 cache reads [esphome#5137](https://github.com/esphome/esphome/pull/5137) by [@hwstar](https://github.com/hwstar)
- fix midea: undo approved PR#4053 [esphome#5233](https://github.com/esphome/esphome/pull/5233) by [@dudanov](https://github.com/dudanov)
- Fixing smartair2 protocol implementation if no Wi-Fi [esphome#5238](https://github.com/esphome/esphome/pull/5238) by [@paveldn](https://github.com/paveldn)
- tuya: add time sync callback only once to prevent memleak [esphome#5234](https://github.com/esphome/esphome/pull/5234) by [@afflux](https://github.com/afflux)
- Fix duplicate tuya time warning [esphome#5243](https://github.com/esphome/esphome/pull/5243) by [@jesserockz](https://github.com/jesserockz)
- Add missing timeout to "async_request" [esphome#6267](https://github.com/esphome/esphome/pull/6267) by [@jesserockz](https://github.com/jesserockz)
- Bump zeroconf timeout to 3000 [esphome#6270](https://github.com/esphome/esphome/pull/6270) by [@jesserockz](https://github.com/jesserockz)
- web_server: Add a position property for cover entities that have the supports position trait [esphome#6269](https://github.com/esphome/esphome/pull/6269) by [@DanielBaulig](https://github.com/DanielBaulig)
- allow multiple emc2101 [esphome#6272](https://github.com/esphome/esphome/pull/6272) by [@ssieb](https://github.com/ssieb)
- Fix RP2040 SPI pin validation [esphome#6277](https://github.com/esphome/esphome/pull/6277) by [@kbx81](https://github.com/kbx81)
- dashboard: move storage json update to a background task in edit save [esphome#6280](https://github.com/esphome/esphome/pull/6280) by [@bdraco](https://github.com/bdraco)
- make output optional for speed fan [esphome#6274](https://github.com/esphome/esphome/pull/6274) by [@ssieb](https://github.com/ssieb)
- fix throttle average nan handling [esphome#6275](https://github.com/esphome/esphome/pull/6275) by [@ssieb](https://github.com/ssieb)
- Fix thermostat supplemental actions [esphome#6282](https://github.com/esphome/esphome/pull/6282) by [@kbx81](https://github.com/kbx81)

View File

@@ -26,13 +26,13 @@ schema:
ssl: bool?
certfile: str?
keyfile: str?
relative_url: str?
leave_front_door_open: bool?
backup_exclude:
- '*/*/'
init: false
startup: services
name: ESPHome (beta)
version: 2023.8.0b2
version: 2024.2.1
slug: esphome-beta
description: Beta version of ESPHome add-on
image: ghcr.io/esphome/esphome-hassio

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

After

Width:  |  Height:  |  Size: 69 KiB

View File

@@ -27,11 +27,11 @@ schema:
ssl: bool?
certfile: str?
keyfile: str?
relative_url: str?
leave_front_door_open: bool?
backup_exclude:
- '*/*/'
init: false
startup: services
name: ESPHome (dev)
version: dev
slug: esphome-dev

View File

@@ -1,11 +1,12 @@
## 2023.7.1
## 2024.2.1
- Dashboard: use Popen() on Windows [esphome#5110](https://github.com/esphome/esphome/pull/5110) by [@kuba2k2](https://github.com/kuba2k2)
- Swap ADC back to use 'int' because C3 [esphome#5151](https://github.com/esphome/esphome/pull/5151) by [@kbx81](https://github.com/kbx81)
- wifi: handle WIFI_REASON_ROAMING reason in event [esphome#5153](https://github.com/esphome/esphome/pull/5153) by [@stintel](https://github.com/stintel)
- Slightly lower template switch setup priority [esphome#5163](https://github.com/esphome/esphome/pull/5163) by [@cvwillegen](https://github.com/cvwillegen)
- update "Can't convert" warning to match others in homeassistant_sensor [esphome#5162](https://github.com/esphome/esphome/pull/5162) by [@PlainTechEnthusiast](https://github.com/PlainTechEnthusiast)
- Increase maximum number of BLE notifications [esphome#5155](https://github.com/esphome/esphome/pull/5155) by [@bdraco](https://github.com/bdraco)
- invert min_rssi check [esphome#5150](https://github.com/esphome/esphome/pull/5150) by [@Jorre05](https://github.com/Jorre05)
- Fix graininess & streaks for 7.50inV2alt Waveshare e-paper [esphome#5168](https://github.com/esphome/esphome/pull/5168) by [@Egglestron](https://github.com/Egglestron)
- Add missing timeout to "async_request" [esphome#6267](https://github.com/esphome/esphome/pull/6267) by [@jesserockz](https://github.com/jesserockz)
- Bump zeroconf timeout to 3000 [esphome#6270](https://github.com/esphome/esphome/pull/6270) by [@jesserockz](https://github.com/jesserockz)
- web_server: Add a position property for cover entities that have the supports position trait [esphome#6269](https://github.com/esphome/esphome/pull/6269) by [@DanielBaulig](https://github.com/DanielBaulig)
- allow multiple emc2101 [esphome#6272](https://github.com/esphome/esphome/pull/6272) by [@ssieb](https://github.com/ssieb)
- Fix RP2040 SPI pin validation [esphome#6277](https://github.com/esphome/esphome/pull/6277) by [@kbx81](https://github.com/kbx81)
- dashboard: move storage json update to a background task in edit save [esphome#6280](https://github.com/esphome/esphome/pull/6280) by [@bdraco](https://github.com/bdraco)
- make output optional for speed fan [esphome#6274](https://github.com/esphome/esphome/pull/6274) by [@ssieb](https://github.com/ssieb)
- fix throttle average nan handling [esphome#6275](https://github.com/esphome/esphome/pull/6275) by [@ssieb](https://github.com/ssieb)
- Fix thermostat supplemental actions [esphome#6282](https://github.com/esphome/esphome/pull/6282) by [@kbx81](https://github.com/kbx81)

View File

@@ -26,13 +26,13 @@ schema:
ssl: bool?
certfile: str?
keyfile: str?
relative_url: str?
leave_front_door_open: bool?
backup_exclude:
- '*/*/'
init: false
startup: services
name: ESPHome
version: 2023.7.1
version: 2024.2.1
slug: esphome
description: ESPHome add-on for intelligently managing all your ESP8266/ESP32 devices
image: ghcr.io/esphome/esphome-hassio

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

After

Width:  |  Height:  |  Size: 69 KiB

View File

@@ -34,12 +34,13 @@ base: &base
ssl: bool?
certfile: str?
keyfile: str?
relative_url: str?
leave_front_door_open: bool?
backup_exclude:
- "*/*/"
# Disable docker init for s6
init: false
# Make sure dashboard is available for core
startup: services
esphome-dev:
<<: *base
@@ -60,7 +61,6 @@ esphome-dev:
ssl: bool?
certfile: str?
keyfile: str?
relative_url: str?
leave_front_door_open: bool?
base_image: ghcr.io/esphome/esphome-hassio:dev
options:
@@ -70,7 +70,7 @@ esphome-beta:
<<: *base
directory: esphome-beta
name: ESPHome (beta)
version: '2023.8.0b2' # BETA
version: '2024.2.1' # BETA
slug: esphome-beta
description: "Beta version of ESPHome add-on"
url: https://beta.esphome.io/
@@ -84,7 +84,7 @@ esphome-stable:
<<: *base
directory: esphome
name: ESPHome
version: '2023.7.1' # STABLE
version: '2024.2.1' # STABLE
slug: esphome
description: "ESPHome add-on for intelligently managing all your ESP8266/ESP32 devices"
image: ghcr.io/esphome/esphome-hassio

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

After

Width:  |  Height:  |  Size: 69 KiB