2023.8: Translated services, events, and wildcards!

Comments

Home Assistant Core 2023.8! 🎉

Another month, another fine release of Home Assistant! This release is a bit more conservative after two absolutely packed releases in June and July. Many of us are enjoying summer holidays 🏖️.

Pretty much all features in this release are absolutely amazing, and it is hard to pick a favorite. Great translation improvements that help with the user experience, a new entity to capture events from things like remotes, and the new Assist features are, again, mind-blowing!

Talking about Assist, have you seen the blog on Year of the Voice - Chapter 3? Or, check the live stream recording on YouTube, where the new features have been demonstrated.

Some new integrations have been added too. Most notably Opower! This integration can pull in energy usage data from many utility companies in the United States. For example, it supports PG&E, ComEd, BGE, and many more! ⚡️ Very good news for all our American friends!

Enjoy the release!

../Frenck

Don’t forget to join our release party live stream on YouTube 2 August 2023, at 12:00 PDT / 21:00 CEST!

Translated services

All services in Home Assistant are now translatable! 🌎

Services are the actions you can call, like turning on a light. This was one of the bigger parts of Home Assistant that still was only available in English. Odd, as the Home Assistant interface can be used in 60+ languages!

In this release, translations for these services have been added to drastically improve the experience when English is not your primary language. For example, when you use the Dutch language (as used in the screenshot below), the service to turn on a light is now also translated into Dutch.

Screenshot showing the Home Assistant interface in the Dutch language, showcasing the translations for service calls.

A big step forward! Implementing this change has resulted in a substantial increase in the number of translations. They have doubled! 😅

Because of that, translating all services might take some time; however… You can help! You don’t have to be a developer to help with this; you can do this from the comfort of your browser. Check out our documentation on how to contribute translations.

Introducing the event entity

Events are signals that are emitted when something happens, for example, when someone presses a physical button like a doorbell or when a button on a remote control is pressed.

If you have ever tried to work with events in Home Assistant, you probably noticed that it was not the easiest thing to do. You need to know the event name, and then you need to know the data that is being sent with it. Before you know it, you’ll start fiddling with the developer tools to figure out what is going on.

To make this all easier, we are introducing a new entity type in this release: The event entity.

The event entity can capture these events in the physical world and makes them available in Home Assistant as an entity. Take for example, this Hue remote:

Screenshot showing the new event entities provided by a Philips Hue remote.

The beauty of the event entity is that they can be used like any other entity in Home Assistant: They will show up in the UI, can be used directly in the automations editor, and provide historical information in the logbook.

Besides Matter, the event entity is also supported by HomeKit Devices, MQTT, and Philips Hue. We expect to see more integrations supporting this new entity type soon.

Improving the first experience with Home Assistant

Onboarding is a user’s first experience with Home Assistant. The onboarding screens are the first you see, and steps you take when you access Home Assistant for the first time, setting up things like your account and language preferences. The goal is to ensure this process is seamless, which is why we’ve made improvements to the onboarding experience.

To achieve this, we have implemented a search field on the map during onboarding. Instead of endlessly dragging the pin on the map around, you can now easily search for your location.

Screenshot showing you can now enter your address to quickly find your location on the map.

This is powered by OpenStreetMap ❤️

Add items to your shopping list using Assist

What if you could ask Assist to add items to your Home Assistant shopping list? Well, now you can!

Add milk to my shopping list!

Screenshot showing asking assist to add milk to the shopping list.

In case you are wondering, the shopping list integration adds a handy page to your Home Assistant interface to which everyone in your household can add items. It is a great way to keep track of what you need to buy, and now you can add items to it with your voice using Assist!

Screenshot showing the shopping list integration in Home Assistant.

To be able to use this feature, you need to have the shopping list integration set up, which is as easy as clicking the My Home Assistant button below:

Generate an image with OpenAI’s DALL-E

In the last release, we added the ability for services to respond with data, and now we added a service that allows you to generate an image using OpenAI’s DALL-E.

All you need is to set up the OpenAI conversation agent integration on your instance, and you will get a new service: openai_conversation.generate_image.

Call this service describing the image you’d like the AI to generate, and it will respond with an image URL you can use in your automations.

Screenshot showing the new generate image service with DALL-E from OpenAI, asking to generate an image of an astronaut riding a unicorn.

You could, for example, use this to generate an image of a city that matches the weather conditions outside of your home, let the AI generate an image about the latest news headline to show on your dashboard, or maybe generate a fun image of someone putting out garbage on garbage day.

You could even combine it with the wildcard support for sentence triggers so you could ask Home Assistant to generate an image using your voice…

Wildcard support for sentence triggers

Sentence triggers now support wildcards! This means you can now partially match a sentence, and use the matched part in your actions. This is what powers the above shopping list feature too, and it can be used for many other things as well.

You could, for example, create a sentence trigger that matches when you say:

Play the white album by the Beatles

Using the wildcard support, you can get the album and artist name from the spoken sentence and use those in your actions. To trigger on the above example sentence, you would use the following command in your sentence trigger:

Screenshot showing an automation that uses a sentence trigger that has wildcards in it.

This will make the album and artist available as trigger variables that you can use in your actions; for example, to start playing the music requested.

These wildcards are interesting and open up a lot of possibilities! Read more about sentence triggers in our documentation.

JLo realized he could use these wildcards, combined with the new generate image service, to let Home Assistant generate an image and show it on his Chrome Cast-enabled device just by using his voice! 😎 You could ask it:

Show me a picture of an astronaut riding a unicorn!

He put this together in an automation blueprint, which you can use to do the same thing in your own Home Assistant instance:

Screenshot showing how the blueprint by JLo looks like in Home Assistant.

Provide the sentence you like to trigger on and the media player you want to show the image at, and you’re good to go! You can import his blueprint using the My Home Assistant button below:

Condition selector

A new selector is available for use in, for example, blueprints: The condition selector.

This selector takes and shows the condition part of the automation editor, and allows blueprint creators to use a user-provided condition in their blueprinted automations and scripts.

This blueprint allows one to set a custom condition using the new condition selector.

Other noteworthy changes

There are many more improvements in this release; here are some of the other noteworthy changes this release:

  • Tons of performance upgrades again this month (thanks @bdraco), these include a much faster ingress experience when visiting add-on web interfaces. 🚀
  • @emontnemery added filters to many of the services Home Assistant provides, meaning only options relevant to the entity you are calling the service on will be shown in the UI. Nice!
  • CO2Signal changed its name to Electricity Maps. The integration has been renamed to match that. Thanks, @madsnedergaard!
  • @Lash-L keeps extending the Roborock integration, adding many new entities in this release. This includes an error sensor, volume controls, and DnD setting times. Awesome!
  • EZVIZ received a big update, adding support for alarm control panels, buttons, and select entities. Thanks @RenierM26!
  • @farmio added support for adding date and date/time entities to KNX! Great!
  • The Xiaomi BLE now supports the MiScale (V1 and V2). Thanks, @Ernst79!
  • UniFi Network now has controls to turn an UniFi WLAN on and off and added image entities for QR codes for WLAN access. Thanks, @Kane610!

New integrations

We welcome the following new integrations in this release:

This release also has a new virtual integration. Virtual integrations are stubs that are handled by other (existing) integrations to help with findability. These are new:

Integrations now available to set up from the UI

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

Release 2023.8.1 - August 4

Release 2023.8.2 - August 11

Release 2023.8.3 - August 18

Release 2023.8.4 - August 24

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

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:

  • Discovery has been removed. This is the old legacy discovery integration. See the backward-incompatible changes above for more information.
    (@frenck - #96856)
  • Mi Flora has been removed. This integration was replaced by the Xiaomi BLE integration a long time ago and was in a non-functional state.
    (@frenck - #96868)
  • Xiaomi Mijia BLE T&H Sensor has been removed. This integration was replaced by the Xiaomi BLE integration a long time ago and was in a non-functional state.
    (@frenck - #96869)

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 2023.8