2022.7: A stunning performance

Comments

Home Assistant Core 2022.7! ☀️

This was one exciting and busy month! In case you’ve missed it, there was a Matter in Home Assistant workshop and a Let’s get loud! event about bringing audio to the Open Home. If you have missed those, it is worthwhile to check those recordings out.

Meanwhile, preparations are happening for the upcoming Matter and of course, the soon-to-be-released Home Assistant Yellow! 💛 More about that soon™.

This release is definitely representing the “streamlining experiences” motto we have been using. The performance improvements in this release are once more: stunning! Furthermore, there are some wonderful new features to explore too.

This release has the perfect mix! I’m sure there is something in here you like. So without further due: Enjoy the release!

../Frenck

Don’t forget to join our release party live stream on YouTube today at 12:00 PDT / 21:00 CET!

Improved stability and performance, and Python 3.10

The quest to improve the performance of Home Assistant continues. For many releases, @bdraco has been analyzing every single aspect of Home Assistant and manages to make it faster every single release.

Usually, we have a section at the end of our release notes informing you about the performance improvements made. The improvements in this release, however, are a big deal.

Our YAML & JSON tooling improved, using faster libraries and methods. JSON is used internally and for communication with the frontend, which is A LOT snappier now. If you use lots of YAML, you will undoubtedly notice this when starting Home Assistant or reloading things like your automations 🚀.

Devices with an integration error during startup that can self-recover will now do that instantly as soon as the device is discovered.

We now use a better and faster encryption method for the HomeKit Accessory Protocol (HAP). It improves the performance of the HomeKit, HomeKit Controller, and Apple TV integrations and prepares Home Assistant for iOS 16.

Lastly, @pvizeli has been working hard to ship Home Assistant on Python 3.10! Which also brings quite a performance improvement. If you run the Home Assistant Operating System or use our container installation method, you will automatically get this; there is no need to do anything. 🚀

Update Z-Wave devices directly from Home Assistant

All software has bugs, including the software on your Z-Wave devices. But how to update those? Have no fear! As of today, we have a solution for this!

Thanks to the hard work and collaboration between @AlCalzone from Z-Wave JS and @raman325 from Home Assistant, you can now install updates on your Z-Wave devices directly from the Home Assistant interface!

Screenshot showing the new upload firmware item on the device page of a Z-Wave device page

On the device page of your Z-Wave device, there is now a menu item allowing you to install Z-Wave firmware updates onto your device manually.

Get a software update for your Z-Wave device from the manufacturer, and start an update in Home Assistant, which allows you to upload the update file you got from the manufacturer. The rest is pure magic!

Screenshot showing the a Z-Wave device that has firmware installation in progress

During update installation, you’ll be presented with the update’s progress.

It is that easy 💪

The about page is now beautiful too!

Have you ever looked at the about page in the Home Assistant settings menu?

It was probably one of the least visually appealing pages still in our menus, and @zsarnett seemed to agree. He made it a lot more cleaner and functional.

It now clearly shows the versions of the different components your instance is made up of, and provides a clean menu to all kinds of Home Assistant related links.

Screenshot the new about page from the settings menu

Change any weather unit to your preference

Home Assistant has many weather services that can be integrated; it is great to have a choice! The differences between those are often their accuracy for your region and the units of measurement used for the different weather data points.

But what if you’d like the barometric pressure unit to be in mbar instead of hPa? Or maybe use m/s or knots instead of km/h for wind speed? No problem!

You can now change the units each weather entity uses! Not just temperature, but for all of the values a weather entity provides. When changing a unit, Home Assistant will take care of converting the values for you.

Screenshot showing energy usage being compared from last week with the week before that

On a similar note, number entities that represent a temperature are now converted to the temperature unit used by the configured unit system.

Thanks @emontnemery and @gjohansson-ST for adding this and updating all existing weather integrations to support this 👍.

Labels instead of values for gauge cards segments

When displaying an entity gauge card on your dashboard, it would show the gauge with the sensor value. For example, if you’d use a humidity sensor, it shows the humidity percentage in the middle of the gauge.

In the 2022.5 release, we added segment support to our gauge card. In this release, @kristjanbjarni added label support to those segments!

This means that if your segment has a label, the gauge card will show that label instead of the sensor value when it is in that range.

Screenshot showing the new gauge labels

For more information, check out our gauge card documentation.

Code editors now auto-complete MDI icons

All of our code editors in the frontend now have auto-completions for MDI icons. Just start typing mdi: and it will help you find the exact icon you need.

Screenshot demonstrating auto-complete for MDI icons in the code editors

Like the normal icon picker, it supports searching on parts of the icon name, its aliases and categories. Additionally, it will show a little preview of the icon you are about to select, so you know you got the right one.

Thank you @bramkragten, this is a really nice addition!

Filter the history panel

If you have lots of devices and entities then the history panel can be long! Actually, it would become so large, that it becomes unpractical. You could always filter it down to a single entity, but that is fairly limited as well. For this release, @D3v01dZA improved these filters.

The history can now be filtered by one or more entities, by all entities of one or more areas, or by all entities of one or more devices.

Screenshot demonstrating the history panel; it is now possible to select what you want to see

This is super helpful, as you can now view the history of all entities in, for example, your living room area quick and easy.

Easily convert values to booleans in templates

If you are into templates, @pyos has a surprise for you: We now have a bool function that can be used as a filter too!

If you are a bit into coding, this is not the standard bool(), but one that is very specific for Home Assistant, making it very useful.

This bool method converts a value into a boolean and considers Home Assistant’s specific rules for truthy values. Some examples: "on" will be considered true, and "disabled" will be considered false.

Screenshot demonstrating auto-complete for MDI icons in the code editors

Using bool as a filter and combined with and iif filter, you can quickly change, for example, binary sensors values into any text you’d like.

For more information, check out our Templating documentation.

Other noteworthy changes

There is much more juice in this release; here are some of the other noteworthy changes this release:

  • The Material Design Icons have been updated to v6.9.96, giving you 100 and another 100 brand new icons to use 🤩 .
  • You can now control the loudness and various additional surround-related settings of your Sonos speakers, thanks @jjlawren! 🔊
  • You can now trigger Alexa routines from switches, toggles, and buttons without the need to wrap them into a binary template sensor first. Fantastic addition, @mdegat01!
  • The logbook live feeds will now automatically pause when you start scrolling and resume when you are back at the top again. Thanks, @bdraco!
  • @matrixd2 extended YoLink; It now supports thermostats, valve controllers, locks, and vibration, CO, and Smoke Sensors!
  • Jellyfin now supports movie collections in the media browser, thanks @j-stienstra!
  • Thanks to @dmulcahey, the widely discussed Aqara FP1 sensor is now supported by ZHA!
  • @ghedo has been busy improving the Area Card. It can now show moisture/flood alerts, humidity, and shows an icon for temperature. Nice!
  • @kingy444 added support for Top/Down, Bottom/Up to Hunter Douglas PowerView. Additionally, buttons to calibrate and jog (identify) have been added. @bdraco added support for polling in case the device is mains powered.
  • Thanks to @thrawnarn, you can now send polls via Telegram bot!
  • The Home Connect integration now has whole collection of new services that can be used to control and configure options of device programs. Really nice, @BraveChicken1!
  • If you have WiZ power plugs with power monitoring, these are now supported, thanks to @bdraco ⚡️.
  • @gjohansson-ST added lots of love to Sensibo this release. Support for (split) timers, Pure Boost, improvements to setting temperature, bug fixes, and many more. Nice work!
  • @iAutom8 made his first-time-ever open source contribution ❤️; And added support for additional temperature sensors in ViCare.

New Integrations

This release does not include new integrations.

Integrations now available to set up from the UI

The following integrations are now available via the Home Assistant UI:

Release 2022.7.1 - July 7

Release 2022.7.2 - July 8

Release 2022.7.3 - July 10

Release 2022.7.4 - July 13

Release 2022.7.5 - July 14

Release 2022.7.6 - July 20

Release 2022.7.7 - July 26

Need help? Join the community!

Home Assistant has a great community of users who are all more than willing to help each other out. So, join us!

Our very active Discord chat server is an excellent place to be at, and don’t forget to join our amazing forums.

Found a bug or issue? Please report it in our issue tracker, to get it fixed! Or, check our help page for guidance for more places you can go.

Are you more into email? Sign-up for our Building the Open Home Newsletter to get the latest news about features, things happening in our community and other news about building an Open Home; straight into your inbox.

Backward-incompatible changes

Below is a listing of the breaking change for this release, per subject or integration. Click on one of those to read more about the breaking change for that specific item.

If you are a custom integration developer and want to learn about breaking changes and new features available for your integration: Be sure to follow our developer blog. The following are the most notable for this release:

Farewell to the following

The following integrations are also no longer available as of this release:

  • iAlarm XR has been removed on request by Antifurto365 (manufacturer).
  • Somfy has been previously deprecated and now removed. Its cloud API was shut down on June 21st, 2022. Use the Overkiz integration as a replacement.

All changes

Of course, there is a lot more in this release. You can find a list of all changes made here: Full changelog for Home Assistant Core 2022.7