Skip to content

Commit 1fe6675

Browse files
Merge pull request #583 from klaasnicolaas/release/v4.2.0
Release v4.2.0
2 parents 6af6991 + 813d1c6 commit 1fe6675

12 files changed

Lines changed: 920 additions & 666 deletions

File tree

.github/workflows/build-firmware.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -100,12 +100,12 @@ jobs:
100100
- name: 🧪 Display changed YAML file
101101
run: cat ${{ matrix.firmware }}/${{ matrix.device }}.yaml
102102
- name: 🔨 Build firmware
103-
uses: esphome/build-action@v3.2.0
103+
uses: esphome/build-action@v4.0.1
104104
id: esphome-build
105105
with:
106-
yaml_file: ${{ matrix.firmware }}/${{ matrix.device }}.yaml
106+
yaml-file: ${{ matrix.firmware }}/${{ matrix.device }}.yaml
107107
version: ${{ matrix.version || 'latest' }}
108-
release_url: ${{ inputs.release-url || env.RELEASE_URL }}
108+
release-url: ${{ inputs.release-url || env.RELEASE_URL }}
109109
cache: true
110110
- name: 🚚 Move generated files to output
111111
run: |
@@ -117,7 +117,7 @@ jobs:
117117
run: |
118118
sed -i 's/${{ steps.esphome-build.outputs.name }}\//\/${{ matrix.firmware }}\/${{ matrix.device }}\//g' output/${{ matrix.device }}/manifest.json
119119
- name: ⬆️ Upload firmware / device artifact
120-
uses: actions/upload-artifact@v4.3.4
120+
uses: actions/upload-artifact@v4.4.0
121121
with:
122122
name: build-${{ matrix.firmware}}-${{ matrix.device }}
123123
path: output

.github/workflows/deploy-firmware.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ on:
1010
inputs:
1111
release-url:
1212
description: "Release URL"
13-
default: "https://github.com"
1413
required: true
1514
type: string
1615

@@ -45,7 +44,7 @@ jobs:
4544
- name: 🧪 Display structure of job
4645
run: ls -R
4746
- name: ⬆️ Upload project artifact
48-
uses: actions/upload-artifact@v4.3.4
47+
uses: actions/upload-artifact@v4.4.0
4948
with:
5049
name: ${{ matrix.project }}
5150
path: files

.github/workflows/pr-labels.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
runs-on: ubuntu-latest
1616
steps:
1717
- name: 🏷 Verify PR has a valid label
18-
uses: klaasnicolaas/action-pr-labels@v2.0.0
18+
uses: klaasnicolaas/action-pr-labels@v2.0.1
1919
with:
2020
valid-labels: >-
2121
breaking-change, bugfix, documentation, enhancement, sync,

docs/blog/2024-09-06-release.md

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
---
2+
slug: release-4.2.0
3+
title: Release 4.2.0
4+
authors: klaas
5+
tags: [glow, release, update]
6+
---
7+
8+
I'm excited to announce the release of version 4.2.0 of the Home Assistant Glow 🌟. It's a small release this time, built on the latest version of ESPHome (2024.8.x) and contains mostly dependency updates for Docusaurus.
9+
10+
<!-- truncate -->
11+
12+
## Moved to Web Server layout V3
13+
14+
The Home Assistant Glow has been upgraded to version 3 of the [web server][webserver] component. This latest version features a fresh design that is more user-friendly and responsive. You can now double-click on tabs to enlarge them, and the layout is optimized for a better mobile experience.
15+
16+
![Web Server - version 3](../static/img/blog/webserver-v3.png)
17+
18+
:::note
19+
If you don't like the new layout, you can override the web server version in your configuration by using [!extend]. For example, to use the old layout, you can use the following configuration:
20+
21+
```yaml title="your_glow_config.yaml"
22+
web_server:
23+
- id: !extend esphome_web_server
24+
version: 2
25+
```
26+
:::
27+
28+
## Wrap up
29+
30+
If you would like to support the project, you can do so through [GitHub sponsors](https://github.com/sponsors/klaasnicolaas). If you have any questions, you can ask them via the [discussions](https://github.com/klaasnicolaas/home-assistant-glow/discussions), and if you encounter problems with the Home Assistant Glow, you can indicate this in the [issues](https://github.com/klaasnicolaas/home-assistant-glow/issues).
31+
32+
./Klaas
33+
34+
## Related links
35+
36+
- [ESPHome 2024.8.x - Changelog][esphome-changelog]
37+
- [ESPHome - Extend][!extend]
38+
- [Customizing the firmware](/docs/advanced/firmware_customization)
39+
40+
<!-- Links -->
41+
[esphome-changelog]: https://esphome.io/changelog/2024.8.0.html
42+
[webserver]: https://esphome.io/components/web_server.html
43+
[!extend]: https://esphome.io/components/packages.html#extend

docs/docs/advanced/firmware_customization.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,4 +68,4 @@ With the above example, you will add an [internal_filter], which can be useful i
6868
6969
[internal_filter]: https://esphome.io/components/sensor/pulse_counter.html?highlight=internal_filter
7070
[pulse_meter]: https://esphome.io/components/sensor/pulse_counter.html
71-
[!extend]: https://esphome.io/guides/configuration-types.html#extend
71+
[!extend]: https://esphome.io/components/packages.html#extend

docs/docs/faq/faq_nr7.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,8 @@ Try to use the `left` [calculation method][method] instead of the default (`righ
1414

1515
```yaml title="your_glow_config.yaml"
1616
sensor:
17-
- id: !extend sensor_energy_pulse_meter
18-
total:
19-
method: left
17+
- id: !extend sensor_total_daily_energy
18+
method: left
2019
```
2120
2221
## Related topics

docs/docs/faq/faq_nr8.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,5 @@ In the example above, replace `your_password` with the password you want to use
2121
- [Customizing the firmware](/docs/advanced/firmware_customization.mdx)
2222

2323
[esphome_ota]: https://esphome.io/components/ota.html
24-
[!extend]: https://esphome.io/guides/configuration-types#extend
25-
[package]: https://esphome.io/guides/configuration-types#remote-git-packages
24+
[!extend]: https://esphome.io/components/packages.html#extend
25+
[package]: https://esphome.io/components/packages.html#remote-git-packages

0 commit comments

Comments
 (0)