mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-19 07:17:14 +00:00
Additions 2024.10 release notes (#34990)
This commit is contained in:
parent
0cff438f80
commit
80f7b8478a
@ -76,6 +76,7 @@ Enjoy the (beta) release!
|
|||||||
<!--more-->
|
<!--more-->
|
||||||
|
|
||||||
- [Heading in the right direction](#heading-in-the-right-direction)
|
- [Heading in the right direction](#heading-in-the-right-direction)
|
||||||
|
- [Another headline feature](#another-headline-feature)
|
||||||
- [Repairs for long term statistics](#repairs-for-long-term-statistics)
|
- [Repairs for long term statistics](#repairs-for-long-term-statistics)
|
||||||
- [Improved YAML syntax for automations](#improved-yaml-syntax-for-automations)
|
- [Improved YAML syntax for automations](#improved-yaml-syntax-for-automations)
|
||||||
- [Faster upgrades when using custom integrations](#faster-upgrades-when-using-custom-integrations)
|
- [Faster upgrades when using custom integrations](#faster-upgrades-when-using-custom-integrations)
|
||||||
@ -93,58 +94,42 @@ Enjoy the (beta) release!
|
|||||||
|
|
||||||
## Heading in the right direction
|
## Heading in the right direction
|
||||||
|
|
||||||
New heading card!
|
Update after update [Sections](/dashboards/sections/) continues to become a customization powerhouse, and this month is no exception. Section titles are being replaced with their own card, called the heading card. Making them a card rather than an inline title gives you a lot more flexibility, allowing you to put them nearly anywhere. The heading card can be used to make titles, but also subtitles, which are half the height and have smaller, lighter text. So, if you have ever had a section that needs to be subdivided, slap a subtitle in there.
|
||||||
|
|
||||||
Note: This chapter can possibily use some examples and be split into multiple
|
|
||||||
subsections.
|
|
||||||
|
|
||||||
Gist:
|
|
||||||
- Replaces the existing section title, which are automatically migrated on upgrade.
|
|
||||||
- Two types of heading styles: Title & Subtitle.
|
|
||||||
- You can add multiple heading cards to a section, allowing you to create a "subsection" sort of style.
|
|
||||||
- A heading can have an action, for example a link to a more detailed view.
|
|
||||||
- Heading cards can have entities, that are shown in the top right of the heading.
|
|
||||||
- The display of these entities can be customized:
|
|
||||||
- Color; default they have a text color, but can be color to the state color of the entity used, or by providing a custom color for an active state.
|
|
||||||
- Default to icon + state, but what is shown can be fully customized.
|
|
||||||
- Can be shown conditionally, using the visibility options
|
|
||||||
|
|
||||||
Multiple heading cards used as titles and subtitles.
|
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
Ability to select the entity color behavior:
|
Titles and subtitles can be made clickable, displaying a chevron `›` when you can interact with them. This can perform an action or navigate to a subpage, like having an energy section title navigate to the full energy dashboard.
|
||||||
|
|
||||||

|
Best of all, if you've already added titles to your sections, they will be migrated automatically to the new card.
|
||||||
|
|
||||||
Result with custom colors:
|
### Another headline feature
|
||||||
|
|
||||||
|
We had such a fantastic reaction when we released our [renewed badges](/dashboards/badges/), and this new heading card has something very similar and equally as visually appealing. It can show multiple entity states to the right of the title or subtitle.
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
|
Either in a subtle "no color" default or add a splash of color when the entity is in an active state. Other customization options for these entities include changing the icon, visibility, and what happens when you click it.
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
## Repairs for long term statistics
|
## Repairs for long term statistics
|
||||||
|
|
||||||
We now raise a repair issue when Home Assistant detects issues with a long term
|
[Long-term statistics](https://data.home-assistant.io/docs/statistics/) are great; they downsample and store the data produced by your sensors, allowing Home Assistant to store data indefinitely in a fraction of the space the original readings took up. Take a look back at your energy usage from two years ago, or see if your living room really is colder this year compared to last.
|
||||||
statistic.
|
|
||||||
|
|
||||||
Gist:
|

|
||||||
- Previously only available via developer tools
|
|
||||||
- Was a bit hidden, causing people not to be aware of issues
|
In the past, if a statistic encountered an issue, it might be quietly broken until you dig into the statistics page. Now it will raise a repair notification when Home Assistant detects issues with a long-term statistic and give you options for fixing the issue.
|
||||||
- Now we raise repair issue for the ones that need a decision.
|
|
||||||
|
|
||||||
## Improved YAML syntax for automations
|
## Improved YAML syntax for automations
|
||||||
|
|
||||||
Improvements to the YAML-sytnax for automations.
|
Recently, we renamed `service` to `action` in the [Home Assistant UI and YAML](/blog/2024/08/07/release-20248/#goodbye-service-calls-hello-actions-). This was done with the goal of making the syntax more natural allowing it to be easier to grasp and read. We want to continue this work to improve the YAML syntax, this time focusing on automations, and we've made the following changes,
|
||||||
Gist:
|
|
||||||
- Follow up on the `service` to `action` rename/change 2 releases ago.
|
|
||||||
- Goal is to make the syntax more natrual, easier to grasp and read.
|
|
||||||
- The top level `trigger` key is now `triggers` (plural)
|
- The top level `trigger` key is now `triggers` (plural)
|
||||||
- The top level `condition` key is now `conditions` (plural)
|
- The top level `condition` key is now `conditions` (plural)
|
||||||
- The top level `action` key is now `actions` (plural)
|
- The top level `action` key is now `actions` (plural)
|
||||||
- The `platform` key of a trigger definition is now `trigger`
|
- The `platform` key of a trigger definition is now `trigger`
|
||||||
- Result: The YAML automation syntax now has `triggers` with multiple `trigger` definitions, `conditions` with multiple `condition` definitions, and `actions` with multiple `action` definitions. This makes it consistent and easier to read.
|
|
||||||
- Not a breaking change, no deprecation. Existing syntax will continue to work and there are no plans to remove the old syntax.
|
The result of all this is YAML automation syntax now has `triggers` with multiple `trigger` definitions, `conditions` with multiple `condition` definitions, and `actions` with multiple `action` definitions.
|
||||||
- The new syntax is recommended, and all documentation and examples have been updated to use the new syntax.
|
|
||||||
- Automations managed by the automation editor will automatically be migrated to the new syntax when saving an automation.
|
|
||||||
|
|
||||||
Before:
|
Before:
|
||||||
|
|
||||||
@ -186,7 +171,9 @@ actions:
|
|||||||
entity_id: light.living_room
|
entity_id: light.living_room
|
||||||
```
|
```
|
||||||
|
|
||||||
Additonal bonus (or noteworthy maybe) we also support nested triggers now:
|
As with the other syntax changes we've done recently, this is not a breaking change, and there will be no deprecation. Existing syntax will continue to work, and there are no plans to remove the old syntax. The new syntax is recommended, and all documentation and examples have been updated to use it. Automations managed by the automation editor will automatically be migrated to the new syntax when saving an automation.
|
||||||
|
|
||||||
|
Additionally, we also support nested triggers now, thanks to the work of [@karwosts].
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
triggers:
|
triggers:
|
||||||
@ -198,20 +185,13 @@ triggers:
|
|||||||
|
|
||||||
This is mainly useful for blueprint authors, but can be used by users to group triggers together as well.
|
This is mainly useful for blueprint authors, but can be used by users to group triggers together as well.
|
||||||
|
|
||||||
Add a syntax for merging lists of triggers ([@karwosts] - [#117698])
|
|
||||||
|
|
||||||
## Faster upgrades when using custom integrations
|
## Faster upgrades when using custom integrations
|
||||||
|
|
||||||
Bit of a technical item, still cool.
|
We want Home Assistant to continue to work on a wide range of hardware. If you look at our [opt-in analytics](https://analytics.home-assistant.io/) you'll see a sizable amount of homes running it on single-board computers from the mid-2010s. A lot of effort has been put into keeping Home Assistant lean, and this release has some good improvements. This is specially for users of custom integrations, and this follows HACS getting a great [speed boost for downloads](/blog/2024/08/21/hacs-the-best-way-to-share-community-made-projects/#faster-downloads).
|
||||||
|
|
||||||
Gist:
|
On each upgrade, all dependencies needed for custom integrations are now downloaded and installed. We are now using `uv` internally to download and install dependencies, which is a faster and more efficient way to download and install dependencies. If you're not aware, `uv` is what makes our release process so fast nowadays, and [@edenhaus](https://github.com/edenhaus) has done an interesting [developer backstory](https://developers.home-assistant.io/blog/2024/04/03/build-images-with-uv/) on our move from `pip` to `uv` (saving us 200+ hours of execution time a month). [@edenhaus] has also implemented `uv` at runtime as well.
|
||||||
- On each upgrade, all dependencies needed for custom integrations are downloaded and installed.
|
|
||||||
- We are now using `uv` internally to download and install dependencies. It is a faster and more efficient way to download and install dependencies.
|
This speeds up the upgrade process, especially for custom integrations with many dependencies, or installations with many custom integrations. This change is fully transparent to the user, and no action is required. Just sit down, relax, and enjoy the faster upgrade process!
|
||||||
- `uv` is what makes our release process so fast nowadays, [developer backstory](https://developers.home-assistant.io/blog/2024/04/03/build-images-with-uv/)
|
|
||||||
- This speeds up the upgrade process, especially for custom integrations with many dependencies or installation with many custom integrations.
|
|
||||||
- This change is fully transparent to the user, and no action is required.
|
|
||||||
- Just sit down, relax, and enjoy the faster upgrade process!
|
|
||||||
- Use uv at runtime too ([@edenhaus] - [#125110])
|
|
||||||
|
|
||||||
## Integrations
|
## Integrations
|
||||||
|
|
||||||
@ -367,17 +347,17 @@ The following integrations are now available via the Home Assistant UI:
|
|||||||
|
|
||||||
## Matter
|
## Matter
|
||||||
|
|
||||||
At this point, our [Matter intergration] is almost becomming a monthly recurring
|
At this point, our [Matter integration] is almost becoming a monthly recurring
|
||||||
topic in our release notes. For a good reason! The development is moving forward
|
topic in our release notes. For a good reason! The development is moving forward
|
||||||
at a strong pace; running toward the certification finish line!
|
at a strong pace; running toward the certification finish line!
|
||||||
|
|
||||||
In terms of stability, we have improved the robustness of the integration to
|
In terms of stability, we have improved the robustness of the integration to
|
||||||
ensure the integration set ups correctly every time, even if an issue with one
|
ensure it sets up correctly every time, even if an issue with one
|
||||||
of your devices occurs. Besides the usual bugfixes and improvements, this
|
of your devices occurs. Besides the usual bugfixes and improvements, this
|
||||||
release has some cool new features and additions:
|
release has some cool new features and additions:
|
||||||
|
|
||||||
- **Button entities**
|
- **Button entities**
|
||||||
New button entitites that allow you to perform an action on a device. For
|
New button entities that allow you to perform an action on a device. For
|
||||||
example, to identify a device or reset the filter state.
|
example, to identify a device or reset the filter state.
|
||||||
- **Valve entities**
|
- **Valve entities**
|
||||||
Support for water valves, allowing you to control the flow of fluids or gases.
|
Support for water valves, allowing you to control the flow of fluids or gases.
|
||||||
@ -389,7 +369,7 @@ release has some cool new features and additions:
|
|||||||
- **Add support for Matter 1.3 power/energy sensors**
|
- **Add support for Matter 1.3 power/energy sensors**
|
||||||
Especially the energy sensors are great to use with the energy dashboard.
|
Especially the energy sensors are great to use with the energy dashboard.
|
||||||
|
|
||||||
[Matter intergration]: /integrations/matter
|
[Matter integration]: /integrations/matter
|
||||||
|
|
||||||
## Other noteworthy changes
|
## Other noteworthy changes
|
||||||
|
|
||||||
@ -400,9 +380,9 @@ noteworthy changes this release:
|
|||||||
has lots of integrations that add them. Including [Matter], [Plugwise],
|
has lots of integrations that add them. Including [Matter], [Plugwise],
|
||||||
[Wallbox], and [Govee]. We are calling contributions to add model IDs to
|
[Wallbox], and [Govee]. We are calling contributions to add model IDs to
|
||||||
more integrations! Maybe a cool suggestion for an [Hacktoberfest] contribution!
|
more integrations! Maybe a cool suggestion for an [Hacktoberfest] contribution!
|
||||||
- We now have a new unit of measurement for energy entities: calories. Usefull,
|
- We now have a new unit of measurement for energy entities: calories. Useful,
|
||||||
for like devices like a treadmill or an exercise bike. Thanks, [@dudanov]!
|
for like devices like a treadmill or an exercise bike. Thanks, [@dudanov]!
|
||||||
- [@Travoschirmer] did something simalar, and added a new unit of speed:
|
- [@Travoschirmer] did something similar, and added a new unit of speed:
|
||||||
mm/s and in/s. Thank you!
|
mm/s and in/s. Thank you!
|
||||||
- When you rename a device, you will now see more details about the rename
|
- When you rename a device, you will now see more details about the rename
|
||||||
operation. Including a preview of the new entity IDs. Nice, [@karwosts]!
|
operation. Including a preview of the new entity IDs. Nice, [@karwosts]!
|
||||||
@ -416,8 +396,8 @@ noteworthy changes this release:
|
|||||||
- More template fun! You can now set up your templated alarm control panel
|
- More template fun! You can now set up your templated alarm control panel
|
||||||
straight from the UI. Thanks, [@gjohansson-ST]!
|
straight from the UI. Thanks, [@gjohansson-ST]!
|
||||||
- There is a new entity in town, the [`assist satellite` entity](/integrations/assist_satellite/).
|
- There is a new entity in town, the [`assist satellite` entity](/integrations/assist_satellite/).
|
||||||
It is a building block for remote sattelites devices that use [Assist]. This
|
It is a building block for remote satellites devices that use [Assist]. This
|
||||||
is in preparation for our upcoming sattelite hardware. Stay tuned!
|
is in preparation for our upcoming satellite hardware. Stay tuned!
|
||||||
|
|
||||||
[@karwosts]: https://github.com/karwosts
|
[@karwosts]: https://github.com/karwosts
|
||||||
[@chammp]: https://github.com/chammp
|
[@chammp]: https://github.com/chammp
|
||||||
@ -452,11 +432,10 @@ in the issue dialog.
|
|||||||
|
|
||||||
### YAML-editor improvements
|
### YAML-editor improvements
|
||||||
|
|
||||||
[@naps62] has been busy improving the YAML editor we show in the user interface
|
[@naps62] has been busy improving the YAML editor found in the Home Assistant user interface.
|
||||||
of Home Assistant.
|
|
||||||
|
|
||||||
We now have a indentation-based vertical line, making it easier to see the
|
We now have a indentation-based vertical line, making it easier to see the
|
||||||
indentation of your YAML configuration, making it easier to spot and prevent
|
indentation of your YAML configuration, allowing you to spot and prevent
|
||||||
indentation errors.
|
indentation errors.
|
||||||
|
|
||||||

|

|
||||||
@ -466,7 +445,7 @@ YAML configuration based on the indentation level.
|
|||||||
|
|
||||||

|

|
||||||
|
|
||||||
[@naps62]: https://github.com
|
[@naps62]: https://github.com/naps62
|
||||||
|
|
||||||
Ref:
|
Ref:
|
||||||
- https://github.com/home-assistant/frontend/pull/21966
|
- https://github.com/home-assistant/frontend/pull/21966
|
||||||
|
BIN
source/images/blog/2024-10/statistics-repair.jpg
Normal file
BIN
source/images/blog/2024-10/statistics-repair.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 66 KiB |
Loading…
x
Reference in New Issue
Block a user