Skip to content

Commit

Permalink
Merge pull request #583 from klaasnicolaas/release/v4.2.0
Browse files Browse the repository at this point in the history
Release v4.2.0
  • Loading branch information
klaasnicolaas authored Sep 6, 2024
2 parents 6af6991 + 813d1c6 commit 1fe6675
Show file tree
Hide file tree
Showing 12 changed files with 920 additions and 666 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build-firmware.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -100,12 +100,12 @@ jobs:
- name: 🧪 Display changed YAML file
run: cat ${{ matrix.firmware }}/${{ matrix.device }}.yaml
- name: 🔨 Build firmware
uses: esphome/build-action@v3.2.0
uses: esphome/build-action@v4.0.1
id: esphome-build
with:
yaml_file: ${{ matrix.firmware }}/${{ matrix.device }}.yaml
yaml-file: ${{ matrix.firmware }}/${{ matrix.device }}.yaml
version: ${{ matrix.version || 'latest' }}
release_url: ${{ inputs.release-url || env.RELEASE_URL }}
release-url: ${{ inputs.release-url || env.RELEASE_URL }}
cache: true
- name: 🚚 Move generated files to output
run: |
Expand All @@ -117,7 +117,7 @@ jobs:
run: |
sed -i 's/${{ steps.esphome-build.outputs.name }}\//\/${{ matrix.firmware }}\/${{ matrix.device }}\//g' output/${{ matrix.device }}/manifest.json
- name: ⬆️ Upload firmware / device artifact
uses: actions/upload-artifact@v4.3.4
uses: actions/upload-artifact@v4.4.0
with:
name: build-${{ matrix.firmware}}-${{ matrix.device }}
path: output
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/deploy-firmware.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ on:
inputs:
release-url:
description: "Release URL"
default: "https://github.com"
required: true
type: string

Expand Down Expand Up @@ -45,7 +44,7 @@ jobs:
- name: 🧪 Display structure of job
run: ls -R
- name: ⬆️ Upload project artifact
uses: actions/upload-artifact@v4.3.4
uses: actions/upload-artifact@v4.4.0
with:
name: ${{ matrix.project }}
path: files
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr-labels.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: 🏷 Verify PR has a valid label
uses: klaasnicolaas/[email protected].0
uses: klaasnicolaas/[email protected].1
with:
valid-labels: >-
breaking-change, bugfix, documentation, enhancement, sync,
Expand Down
43 changes: 43 additions & 0 deletions docs/blog/2024-09-06-release.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
---
slug: release-4.2.0
title: Release 4.2.0
authors: klaas
tags: [glow, release, update]
---

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.

<!-- truncate -->

## Moved to Web Server layout V3

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.

![Web Server - version 3](../static/img/blog/webserver-v3.png)

:::note
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:

```yaml title="your_glow_config.yaml"
web_server:
- id: !extend esphome_web_server
version: 2
```
:::
## Wrap up
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).
./Klaas
## Related links
- [ESPHome 2024.8.x - Changelog][esphome-changelog]
- [ESPHome - Extend][!extend]
- [Customizing the firmware](/docs/advanced/firmware_customization)
<!-- Links -->
[esphome-changelog]: https://esphome.io/changelog/2024.8.0.html
[webserver]: https://esphome.io/components/web_server.html
[!extend]: https://esphome.io/components/packages.html#extend
2 changes: 1 addition & 1 deletion docs/docs/advanced/firmware_customization.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -68,4 +68,4 @@ With the above example, you will add an [internal_filter], which can be useful i
[internal_filter]: https://esphome.io/components/sensor/pulse_counter.html?highlight=internal_filter
[pulse_meter]: https://esphome.io/components/sensor/pulse_counter.html
[!extend]: https://esphome.io/guides/configuration-types.html#extend
[!extend]: https://esphome.io/components/packages.html#extend
5 changes: 2 additions & 3 deletions docs/docs/faq/faq_nr7.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,8 @@ Try to use the `left` [calculation method][method] instead of the default (`righ

```yaml title="your_glow_config.yaml"
sensor:
- id: !extend sensor_energy_pulse_meter
total:
method: left
- id: !extend sensor_total_daily_energy
method: left
```
## Related topics
Expand Down
4 changes: 2 additions & 2 deletions docs/docs/faq/faq_nr8.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,5 @@ In the example above, replace `your_password` with the password you want to use
- [Customizing the firmware](/docs/advanced/firmware_customization.mdx)

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

0 comments on commit 1fe6675

Please sign in to comment.