2021.5: Stability, efficiency, triggers, shade modes!

2021.5: Stability, performance, triggers, color modes!

Right here I’m once more, a month later. Are you used to those month-to-month launch cycles
but? Hey, 2021.5! Good to see you this Could!

I might say this launch is a bit much less function wealthy in comparison with the earlier
launch (which was epic, in my view!). However it isn’t a nasty factor!

Some actually good stability enhancements have been launched this launch! Not
the new new objects you wish to discover instantly, however these basic issues
will actually assist our techniques now and sooner or later. Making this launch an
improve that might be a easy sail for many of us (test the breaking adjustments).

Essentially the most visible half modified this launch could be discovered within the facelift that the
integrations dashboard received. Oh, and the brand new shade modes for lights is an incredible
enchancment as nicely!

Could… For me, that feels just like the summer season is slowly attempting to make its
look and I’m wanting ahead to it 🕶. Do you will have a summer season
Dwelling Automation mission found out but?

Oh, and don’t neglect to tune into the discharge get together dwell stream later at the moment!
(Spoiler alert: I’ve heard we’d have a particular visitor, solely Paulus didn’t
wish to inform me who it’s…)

2021.5 Stream Social gathering on YouTube: https://www.youtube.com/watch?v=bvAKUz-bmqU

../Frenck

Database upgrades & efficiency

There’s a database improve on this launch, however fear not as database upgrades
now occur within the background and now not forestall Dwelling Assistant from beginning.
Throughout migration, Dwelling Assistant will forestall being restarted or stopped till
the migration has been accomplished.

Because of @lmagyar and @raman325 we now can retailer occasions as much as
64 characters and the recorder gained’t get caught if there may be one exceeding that
size.

And you probably have ever needed to anticipate the recorder to close down, fear no extra
as Dwelling Assistant can now shut down efficiently, even when the database is
damaged.

Speaking about damaged databases: you probably have ever had database corruption of
your SQLite database, you in all probability understand how a lot of a ache it’s to get issues
again up and operating once more. We not too long ago added dwell restoration to permit
Dwelling Assistant to get well and begin a brand new database when the recorder encountered
corruption when saving occasions or states to the database. This launch extends
this dwell restoration to work throughout migration and purge. This additionally means no extra
ready for a database test on unclean shutdown!

Lastly, the recorder efficiency has been improved by lowering the write
frequency.

Startup visibility – What’s taking so lengthy?

Ever puzzled why beginning up Dwelling Assistant took so lengthy?

Cease questioning, as now you can see which integration is delaying startup as
the combination taking the longest time to arrange is now displayed when
Dwelling Assistant is beginning.

Screenshot of Home Assistant starting
Screenshot of Dwelling Assistant reporting integrations which can be being arrange.

And in case you missed these notifications, you may all the time test the
data panel afterward.

Screenshot of information panel showing integration set up times
Screenshot of data panel exhibiting integration arrange occasions.

This My button brings you proper to it:

Why Dwelling Assistant didn’t restart once I pressed the restart button?

So, why didn’t Dwelling Assistant restart while you press the restart button?
This query we have now seen fairly a number of occasions and was a moderately annoying
incidence that has been improved.

The restart button now supplies suggestions! So you understand straight away if a restart
can’t occur due to invalid configuration, damaged integration or database
improve in progress.

We adjusted timeouts and stuck a number of locations the place shutdown would block
endlessly, for instance, when restarting Dwelling Assistant the configuration will get
checked and there was a case that would grasp on this test endlessly.

This implies restarts are quicker now! As extra components of Dwelling Assistant now
cancel/react to the shutdown process higher than earlier than
(from the Month of
What the Heck).

We additionally audited the highest 35 integrations to ensure they cease polling on cease.
Thanks for turning on analytics!

Up to date feel and appear for the combination dashboard

The Integrations dashboard has been up to date to
have a extra compact look and supply extra helpful data.

For instance, it now exhibits the state of the combination and in case of a
failure, it’ll now inform you why that’s.

Screenshot of the updated integrations dashboard
Screenshot of the up to date integrations dashboard.

Moreover, now you can acknowledge integrations that depend on the cloud
(they present a little bit cloud label) and integrations which can be put in as
customized integration (they present a little bit bundle label).

Coloration modes!

We now have help for RGBWW, RGBW and plenty of extra shade modes!

Beforehand, we relied primarily on HS (Hue Saturation) & Brightness (HSB/HSV)
and colours in Dwelling Assistant was based mostly on that. However now, an integration can
present the precise shade mode an mild helps. This permits Dwelling Assistant
(and integrations) to regulate the habits for the sunshine higher.

For instance, the frontend will modify the colour picker based mostly on the colour mode
of the sunshine. The extra data dialog for lights have been modernized to help
this alteration:

Screenshot of the updated more info dialog for lights
Screenshot of the up to date extra data dialog for lights.

Please notice, that at this second not all integrations are in a position to help shade
modes but. Nevertheless, all lights do have an good up to date UI as within the screenshot.

Set off-based binary template sensor

Within the earlier launch, we launched a trigger-based template
sensor. This launch extends on that options by including help for
trigger-based binary sensors utilizing templates.

Set off-based binary sensors can be configured with an auto_off length.
It will robotically flip a binary sensor state to off after the required
length.

template:
  - set off:
      - platform: occasion
        event_type: netatmo_event
        event_data:
          kind: motion
    binary_sensor:
      - identify: "Movement"
        # We use auto_off, so simply set it to true on every set off
        state: "true"
        device_class: movement
        # Routinely flip off 60 seconds after the final occasion
        auto_off: 60

Another concepts:

Docker photographs now signed and out there on the GitHub Container Registry

We are actually utilizing each DockerHub and the brand new GitHub Container Registry.

If you wish to use the brand new GitHub Container Registry, simply use:

ghcr.io/home-assistant/home-assistant

(As a substitute of homeassistant/home-assistant)

Our core photographs are actually additionally signed with CodeNotary
and permitting you to test the integrity of our photographs.

CodeNotary is a distributed Ledger resolution utilizing the
immudb as a database for built-in
cryptographic proof and verification.

In case you are operating the Dwelling Assistant Working System or a Supervised
set up kind, we already test the integrity of our distributed content material.
When you operating the Container set up, you may set up the
VCN device.

Now you need to use it like so:

docker pull ghcr.io/home-assistant/home-assistant:2021.5.0
vcn authenticate --org home-assistant.io docker://ghcr.io/home-assistant/home-assistant:2021.5.0

It will inform/verify that the picture you will have, is definitely created
and shipped by the Dwelling Assistant mission.

Different noteworthy adjustments

There may be far more juice on this launch; listed below are a few of the different
noteworthy adjustments this launch:

  • Are you in conferences loads? The brand new mutesync integration
    exhibits for those who’re in a gathering and for those who’re muted in Dwelling Assistant. It will
    unlock some cool do-not-disturb automations.
  • We did an audit of reminiscence leaks and stuck a few generic instances in our
    core codebase. But additionally mounted over 15 instances throughout unload/reload in common
    integrations.
  • The TTS service by Dwelling Assistant Cloud now makes use of an improved bitrate,
    making it sound much more spectacular.
  • ClimaCell now helps the v4 API. So, When you’ve needed to try it out you
    can now really use it with the brand new API keys. Thanks @raman325!
  • In case you are into templating, we now have min() and max() out there
    as features in Jinja templates.
  • The AdGuard integration now helps a number of cases because of @eifinger.
  • When viewing your logs within the frontend, the log entry will inform you if
    the log was created by a customized integration.
  • When you’ve got a Sonos Transfer or Sonos Roam, now you can see their battery stage
    and charging state. Thanks for that @hufman and @jjlawren.
  • Template covers now can have a gap and shutting state, which was added by
    @bdr99, thanks for that!
  • The ZHA integration now has configuration choices within the UI, permitting you
    to set issues like default transition occasions in your lights.
    Thanks @dmulcahey!
  • The Z-Wave JS integration now means that you can re-interview a tool from the
    UI because of @cgarwood.
  • @cgarwood didn’t cease there, now you can opt-in for sending Z-Wave JS
    telemetry to the Z-Wave JS mission to assist them out. This may be turned
    on within the Z-Wave JS configuration panel.

New Integrations

We welcome the next new integrations this launch:

New Platforms

The next integration received help for a brand new platform:

Integrations now out there to arrange from the UI

The next integrations are actually out there by way of the Dwelling Assistant UI:

Launch 2021.5.1 – Could 7

Launch 2021.5.2 – Could 10

Launch 2021.5.3 – Could 11

Launch 2021.5.4 – Could 14

Launch 2021.5.5 – Could 19

When you need assistance…

…don’t hesitate to make use of our very lively boards or be part of us for a little bit chat.

Experiencing points launched by this launch? Please report them in our situation tracker. Be sure to fill in all fields of the problem template.

Breaking Adjustments

Beneath is a list of the breaking change for this launch, per topic or
integration. Click on on a type of to learn extra concerning the breaking change
for that particular merchandise.

Farewell to the next

The next integrations are now not out there as of this launch:

Each integrations had been in a damaged state and utilizing webscaping strategies to assemble
their information, which isn’t allowed for core integrations.

All adjustments

Click on to see all adjustments!



Total
0
Shares
Leave a Reply

Your email address will not be published. Required fields are marked *

Related Posts