2023.8: Translated companies, occasions, and wildcards!

Residence Assistant Core 2023.8! š
One other month, one other superb launch of Residence Assistant! This launch is a little more
conservative after two completely packed releases in June
and July. Many people are having fun with summer season holidays šļø.
Just about all options on this launch are completely wonderful, and it’s laborious
to choose a favourite. Nice translation enhancements that assist with the person
expertise, a brand new entity to seize occasions from issues like remotes, and the
new Help options are, once more, mind-blowing!
Speaking about Help, have you ever seen the weblog on Yr of the Voice – Chapter 3?
Or, test the live stream recording on YouTube,
the place the brand new options have been demonstrated.
Some new integrations have been added too. Most notably Opower!
This integration can pull in vitality utilization knowledge from many utility firms in
the USA. For instance, it helps PG&E,
ComEd, BGE, and lots of extra! ā”ļø
Superb information for all our American pals!
Benefit from the launch!
../Frenck
Donāt overlook 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.
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 occasion entity
Occasions are indicators which can be emitted when one thing occurs, for instance, when
somebody presses a bodily button like a doorbell or when a button on a distant
management is pressed.
When you’ve got ever tried to work with occasions in Residence Assistant, you most likely
seen that it was not the best factor to do. You want to know the occasion title,
after which it’s worthwhile to know the information that’s being despatched with it. Earlier than you realize it,
youāll begin twiddling with the developer instruments to determine what’s going on.
To make this all simpler, we’re introducing a brand new entity sort on this launch:
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:
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.
This is powered by OpenStreetMap ā¤ļø
Add gadgets to your purchasing record utilizing Help
What in the event you may ask Assist to add items to your
Home Assistant shopping list? Well, now you can!
Add milk to my 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!
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 a picture with OpenAIās DALL-E
Within the final launch, 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 want is to arrange the OpenAI dialog agent
integration in your occasion, and you’ll get a brand new service:
openai_conversation.generate_image
.
Name this service describing the picture youād just like the AI to generate, and
it should reply with a picture URL you need to use in your automations.
You can, for instance, use this to generate a picture of a metropolis that matches
the climate situations exterior of your own home, let the AI generate a picture
in regards to the newest information headline to point out in your dashboard, or perhaps generate
a enjoyable picture of somebody placing out rubbish on rubbish day.
You can even mix it with the wildcard assist for sentence triggers so that you
may ask Residence Assistant to generate a picture utilizing your voiceā¦
Wildcard assist 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 may be used for a lot of different issues as properly.
You can, for instance, create a sentence set off that matches whenever you say:
Play the white album by the Beatles
Utilizing the wildcard assist, you may get the album and artist title from the spoken
sentence and use these in your actions. To set off on the above instance sentence,
you’d use the next command in your sentence set off:
It will make the album
and artist
accessible as set off variables that you just
can use in your actions; for instance, to begin enjoying the music requested.
These wildcards are fascinating and open up quite a lot of potentialities!
Learn extra about sentence triggers in our documentation.
JLo realized he may use these wildcards, mixed with the brand new
generate image service, to let
Residence Assistant generate a picture and present it on his Chrome Solid-enabled gadget
simply through the use of his voice! š You can ask it:
Present me an image of an astronaut using a unicorn!
He put this collectively in an automation blueprint, which you need to use to do the
similar factor in your individual Residence Assistant occasion:
Present the sentence you prefer to set off on and the media participant you need to
present the picture at, and also youāre good to go! You’ll be able to import his blueprint utilizing
the My Residence Assistant button under:
Situation selector
A brand new selector is accessible to be used in, for instance, 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
embody a a lot sooner ingress expertise when visiting add-on internet interfaces. š -
@emontnemery added filters to lots of the companies Residence Assistant gives,
that means solely choices related to the entity you’re calling the service on
will likely be proven within the UI. Good! - CO2Signal modified its title to Electrical energy Maps. The combination
has been renamed to match that. Thanks, @madsnedergaard! -
@Lash-L retains extending the Roborock integration, including many new entities
on this launch. This consists of an error sensor, quantity controls,
and DnD setting occasions. Superior! -
EZVIZ acquired an enormous replace, including assist for alarm management panels, buttons,
and choose entities. Thanks @RenierM26! - @farmio added assist for including date and date/time entities to KNX! Nice!
- The Xiaomi BLE now helps the MiScale (V1 and V2). Thanks, @Ernst79!
-
UniFi Community now has controls to show an UniFi WLAN on and off and added
picture entities for QR codes for WLAN entry. Thanks, @Kane610!
New integrations
We welcome the next new integrations on this launch:
This launch additionally has a brand new digital integration. Digital integrations
are stubs which can be dealt with by different (current) integrations to assist 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:
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.
Discovered a bug or difficulty? Please report it in our issue tracker,
to get it mounted! Or, test our assist web page for steerage for extra
locations you may go.
Are you extra into e mail? Signal-up for our Constructing the Open Residence Publication
to get the newest information about options, issues taking place in our neighborhood and
different information about constructing an Open Residence; straight into your inbox.
Breaking changes
Python 3.10 support has previously been deprecated and has now been removed.
Home Assistant now requires Python 3.11 to run.
You donāt have to do anything if you are using Home Assistant OS,
Home Assistant Container, or Home Assistant Supervised installation method.
In those cases, we handle this all for you.
Your system has been using Python 3.11 for quite some time already.
The legacy discovery integration has been eliminated. This solely impacts the
automated discovery of Enigma2, Yamaha Community Receivers, and Bluesound.
These can nonetheless be manually configured as per standard.
Be aware that is for our very, very previous discovery logic. This doesn’t have an effect on the
discovery of some other integration/gadget/service.
In the event you nonetheless have discovery:
listed in your YAML configuration, you may
safely take away it.
The Ecovacs integration has been migrated to the brand new āStateVacuumEntityā
underneath the hood.
The states of the vacuum entity now report not solely on or off,
as a substitute cleansing
, paused
, docked
(implicit imply charging),
returning
(to base), idle
and error
. Additional, the actions turn_on
(begin cleansing), and turn_off
(cease cleansing and return to base) had been
outmoded by three single actions begin
, cease
and return_to_base
.
Itās not allowed for an MQTT RGB mild with out a brighness_state_topic
to report an RGB worth of RGB=0,0,0
. The reason being that for such lights,
the sunshineās brightness is derived from the RGB worth, and an RGB worth
of RGB=0,0,0
corresponds to a brightness of 0 which isn’t allowed.
In case an MQTT RGB mild with out a brighness_state_topic
experiences 0,0,0
for R, G, and B, that replace will likely be ignored.
(@jbouwh – #96286) (documentation)
The MQTT local weather CONF_POWER_STATE_TOPIC
and CONF_POWER_STATE_TEMPLATE
had been
deprecated in HA Core 2023.2.0 and at the moment are eliminated. Please take away these choices
out of your configuration. The choices weren’t carried out however will break your
MQTT configuration if they’re nonetheless current in your config.
(@jbouwh – #96771) (documentation)
The way in which MQTT entities are named and the way gadget configuration might be shared
between found entities has modified.
Sharing of gadget configuration
Found MQTT entities can share gadget configuration, that means one entity
can embody the total gadget configuration, and different entities can hyperlink to that
gadget by solely setting obligatory fields.
The obligatory fields had been beforehand restricted to at the least certainly one of
connection
and identifiers
, however have now been prolonged to at the least
certainly one of connection
and identifiers
in addition to the title
.
Naming of MQTT entities
The naming of MQTT entities has been modified to be aligned with the
entity naming guidelines:
- The
has_entity_name
entity will likely be set toTrue
on all MQTT entities. - This implies any MQTT entity which is a part of a tool will automatically have its
friendly_name
attribute prefixed with the device name. - Unnamed
binary_sensor
,button
,occasion
,quantity
, andsensor
entities will
now be named by their gadget class as a substitute of being named āMQTT binary sensorā and many others. - Itās now allowed to set an MQTT entityās title to
None
to mark it because the
foremost characteristic of a tool.
The state values of the Purpose Air flow integration have been modified to
be extra in keeping with different integrations and at the moment are lowercase. Moreover,
it might probably now present translations for the state values within the UI.
Because of this the next state values have modified:
-
Off
->off
-
Level1
->level1
-
Level2
->level2
-
Level3
->level3
-
Level4
->level4
-
Breeze
->breeze
-
Vacation
->vacation
Please replace any automations the place you’re utilizing the state of this Renson sensor.
If you’re a customized integration developer and need to study breaking
modifications and new options accessible on your integration: Be sure you observe our
developer blog. The next are essentially the most notable for this launch:
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 breaking changes above for more information.
(@frenck – #96856) -
Mi Flora has been eliminated. This integration was changed by the
Xiaomi BLE integration a very long time in the past and was in a non-functional state.
(@frenck – #96868) -
Xiaomi Mijia BLE T&H Sensor has been eliminated. This integration was
changed by the Xiaomi BLE integration a very long time in the past and was in a
non-functional state.
(@frenck – #96869)
All modifications
After all, there’s much more on this launch. You could find an inventory of
all modifications made right here: Full changelog for Residence Assistant Core 2023.8