2022.4: Teams! Teams! Teams! – Dwelling Assistant

0
51

[ad_1]

👋 I’m undecided the place to begin with this launch; It’s April, and I can
guarantee you: This launch isn’t any joke. Critically, it’s packed with options
and unimaginable new issues 🤯.

The discharge focuses on including options to the person interface by bringing
in person experiences and options that have been beforehand solely accessible to customers
utilizing YAML configuration and making them now accessible for all! It’s a
nice step ahead in streamlining all of the person experiences.

I couldn’t match extra in these launch notes, however there may be extra to inform!
Zack and Paulus promised so as to add a few nice (and unique)
bulletins to the publication! The publication has, by the way in which,
been renamed: Constructing the Open Dwelling. Remember to test it out!

I wish to invite you to learn the (lengthy) launch notes under. I’m positive there may be
loads in there you’ll like and love ❤️.

Let me know what you suppose the killer characteristic of this launch is?

Benefit from the launch!

../Frenck

Goodbye Lovelace, Good day Dashboards

On this launch, we’re saying goodbye to “Lovelace”; we renamed it to
“Dashboards”.

Over an prolonged interval, we’ve been slowly introducing the time period “Dashboards”
increasingly, so all people may get used to it. As of this launch, the time period
“Lovelace” has been fully changed by “Dashboards”.

This rename is finished to enhance the person expertise and streamline Dwelling
Assistant. The time period “Lovelace” doesn’t say a lot for brand spanking new customers, they usually
would want to study it. “Dashboards”, nonetheless, speaks for itself.

So, what does your Dwelling Assistant Dashboard seem like?

Cover entities

Apart from enabling/disabling entities, it’s now additionally potential to cover them.

Screenshot showing the new option to hide an entity
Now you can mark an entity as hidden within the entity settings.

Hiding entities will disguise them from most locations within the UI, however they’re
nonetheless there and are nonetheless being recorded.

Nevertheless, they’re not proven on auto-generated Dashboards; they’re
mechanically hidden from HomeKit, Alexa & Google Assistant and aren’t
referred to as when a service name targets their space.

Hiding entities can be utilized to wash up your mechanically generated Dashboard
or disguise these gentle entities that you’ve got put into teams. About teams…

Now accessible within the UI: Teams!

A bunch permits you to mix a number of entities right into a single entity. Entities that
are members of a gaggle may be managed and monitored as an entire. Helpful for
instances the place you wish to management, for instance, the a number of bulbs in a lightweight
fixture as a single gentle in Dwelling Assistant.

Utilizing teams is a quite common use case, however, till now, a complicated use case
as teams have been solely accessible for YAML configuration. As of right now, teams are
accessible within the UI! 🎉

Screenshot showing adding groups from the UI

Choose the kind of entities you wish to group and choose the group members
you wish to add: Executed! You’ll be able to group a number of sorts of entities: binary sensors,
covers, followers, lights, and media gamers; additionally added on this launch is
help for lock and change teams.

Keep in mind the disguise entities performance described above? That’s tremendous useful
for hiding these particular person gentle entities of your gentle fixture. So, once you
create a brand new group within the UI, you’ll be able to choose to cover all group members
mechanically!

Screenshot showing how to hide group members

Your teams may be discovered beneath Configuration > Automations & Scripts > Helpers,
or, when you’ve got up to date to this launch already, click on the my button under to
add a brand new group instantly:

Swap as X

In Dwelling Assistant’s world, a wall plug is a change. And whereas that’s right
for a wallplug typically, these plugs (or relays) are sometimes used with a lightweight
fixture, a fan, storage door, or perhaps your Christmas tree lights. 🎄

This launch introduces the “Swap as X” helper, which helps you to convert any
Dwelling Assistant change into a lightweight, cowl, fan, lock, or siren to match your
real-world use higher.

Swap as X may be discovered beneath Configuration > Automations & Scripts > Helpers,
however wait! We made it simpler: You can even change the change itself when
enhancing the change entity:

The video above exhibits create a brand new gentle entity, which makes use of the
unique change. The unique change is now mechanically hidden from most of
the Dwelling Assistant UI however continues to be accessible on this machine web page.

You probably have up to date to this launch already, click on the my button under to
rework one among your switches instantly:

Extra helpers now accessible by way of the UI

The above Teams and Swap as X, are to be present in what we name: Helpers.

Helpers are integrations that expose a method for a person to supply enter or
devour present knowledge in Dwelling Assistant to supply a brand new entity.

The latter class of helpers has very a lot been prolonged on this launch!
Not simply teams and change as X, however we’ve many extra helper integrations
accessible within the UI now!

This launch brings the next helpers to the UI:

Introducing replace entities

Say “hello!” to a model new entity sort: replace.

Replace entities can inform you if an replace is obtainable on your machine and
service and, in some instances, will let you set up the replace straight from
Dwelling Assistant!

And the attractive factor is: They present up in your configuration Dashboard, simply
like a Dwelling Assistant, Dwelling Assistant OS, or add-on replace. As a matter of truth,
these at the moment are replace entities too!

Now updates are entities, different integrations can present them too! For instance,
a WLED firmware replace on your LED strip will present up and installs
with a single click on.

Screen recording showing a WLED firmware update can be installed with a click
A WLED firmware replace can now be put in similar to some other replace.

These replace entities may be supplied by integrations and supply extra
details about the replace, like: Model data, hyperlinks to launch notes,
and the likelihood to skip that particular model supplied.

The blue quantity indicator on the configuration cog icon in your sidebar tells
you what number of updates are pending.

The Dwelling Assistant Supervisor (offering Core, OS, and add-on updates), WLED,
Pi-hole, and Synology DSM integrations have carried out these model new
replace entities on this launch.

And since they’re all entities, it means you’ll be able to automate with them. For
instance, you could possibly ship a notification when a brand new add-on replace is obtainable
for set up.

Backups for Dwelling Assistant Core & Container installs

If you’re operating Dwelling Assistant OS or Supervised, you have already got entry to
Dwelling Assistant’s actually useful backup capabilities. Nevertheless, this characteristic was
unavailable for those who run Dwelling Assistant Core in Python or use a Dwelling Assistant
Container in Docker.

That each one adjustments this launch: Introducing a Backup integration for Dwelling
Assistant Core and Container set up sorts!

Screenshot showing backup creation in progress on a Home Assistant Core installation type.
Dwelling Assistant Core and Container installations can now additionally again up their occasion.

These backups may be downloaded and extracted in order for you or want to revive one
of the earlier backups. Additionally, these backups are suitable with Dwelling Assistant
OS installations. So, for those who plan on migrating set up sorts sooner or later,
that’s now tremendous simple!

You could find the backup dashboard within the configuration menu, or, when you’ve got
upgraded already, click on the my button under to create a brand new backup instantly:

Testing your automation circumstances

In our earlier launch we added a characteristic to see if the automation
you create triggers accurately. Throughout the launch occasion reside stream,
we acquired questions: “Can this be completed for circumstances too?”; Certain we are able to!

Screen recording showing the new test button that allows you to test the condition
Each situation now has a bit check button, to check if the situation passes proper now.

Moreover, the “triggered” bar acquired an extra characteristic too! You’ll be able to click on
on it to get a uncooked view of all set off variable knowledge. This knowledge
may be useful in case you wish to create a complicated situation or template
utilizing that data.

Screenshot showing variable trigger data when the triggered notification is clicked

Zones now have a state!

In case you ever appeared on the state of a zone entity, you’ll have observed
it all the time stated: “Zoning”. Probably not useful 🙃

So, to enhance on that, we modified that habits. The state of a zone entity
will now present the variety of
individuals presently in that zone; that’s extra
useful! Moreover, it implies that a zone has historical past now too!

Screenshot showing the new numeric state of our zones

It will vastly simplify automations and scripts that, for instance, set off
on: No one is residence, all people is residence, somebody left residence (or some other zone
for that matter). Or use it as a situation to stop an automation
from operating when no one is residence.

Screenshot showing how to use zone with in a numeric condition
The situation ensures this automation will solely set off if somebody is residence.

Adjusting unit of measurement for sensors

Acquired that one sensor measuring a temperature in Celsius, however you like it to be
in Fahrenheit? No downside! Now you can change the unit of measurement for
temperature and strain sensors straight from the UI.

Screenshot showing adjusting the unit for measurement for a temperature entity

Adjusting long-term statistics

Lengthy-term statistics are nice! Till… one thing went fallacious 😅

Sadly, issues occur. For instance, it registered an enormous spike, or your
photo voltaic or electrical energy meter supplied a one-off rogue measurement. These occasions
affect your long-term statistics, which could endlessly have incorrect historical past.

We now have made accessible a bit developer device that lets you
right/regulate long-term historic knowledge to resolve these points.

The brand new device may be discovered at Developer instruments > Statistics,
and click on the

icon, subsequent to the statistic you’d like to regulate seek for the inaccurate
datapoint by date & time and regulate the worth.

Screenshot showing adjusting the long-term statistic history value.

Optimizing efficiency

This launch brings vital efficiency optimizations to each Dwelling
Assistant’s backend and frontend UI.

Frontend UI efficiency

The communication layer between the Dwelling Assistant frontend and its Core backend
has been vastly improved. It now sends over loads much less knowledge and is closely
optimized to ship the least quantity of knowledge when first loading up the UI.

The UI will load quicker since much less knowledge is transferred over the wire,
and there may be much less knowledge for the net browser or app to course of.

Moreover, transmitting much less knowledge means Dwelling Assistant will work higher
on slower knowledge connections and, if important for you, makes use of much less knowledge in your
cellular knowledge plan.

Database efficiency

This launch options write reductions supposed to protect SD card lifetimes,
efficiency enhancements designed to get knowledge to the frontend quicker, and
database measurement reductions starting from 10-35% for many installs.

When the identical set of state attributes already exists within the database,
newly recorded state adjustments now solely retailer a reference to the state
attributes as a substitute of saving the entire set of state attributes.

As knowledge saved within the database earlier than 2022.4 doesn’t get up to date,
the discount in database measurement will happen over time with the recording
of latest knowledge and the purging of previous knowledge.

On prime of that, most entity historical past graphs not must fetch the
attributes from the backend, and consequently, they load a lot quicker after
24 hours of operating on 2022.4. This alteration is very noticeable
for vitality sensors.

For an entire set of adjustments to the underlying database,
try the
Information Science Portal.

New and up to date selectors!

Selectors are UI inputs used all through Dwelling Assistant. It powers our new UI
helpers, automation editor, and supplies UIs for Blueprints and scripts.

We added an entire bunch of new selectors which can be usable in your
Blueprints, and prolonged the choices for a lot of present selectors.

For instance, we now have a location selector that allows you to decide coordinates
from a map. An RGB colour and colour temperature selector, an icon, theme, time,
date, datetime selector; The entity, machine, and space selectors can now be
configured to just accept a number of entities, units, or areas!

Screenshot of the new color selector
One of many new selector added: RGB Coloration; it may be utilized in Blueprints too!

We’re wanting ahead to seeing new and improved Blueprints utilizing these new
selectors on the Blueprints Alternate!

For the most recent details about all accessible selectors and their choices,
try the up to date selectors documentation.

Variables on set off

For the extra superior makes use of instances, this launch supplies: variables on set off.
It’s precisely what it says on the can: The potential of setting variables
on triggers that change into accessible when that particular set off triggers.

These variables may be useful to go down particular data primarily based on the
set off that fired. The automation instance under exhibits how a message may be
handed to the notify service primarily based on its triggering movement sensor.

automation:
  set off:
    - platform: state
      entity_id: binary_sensor.motion_garage
      to: "on"
      variables:
        trigger_message: "Movement detected in the storage! 🚘"
    - platform: state
      entity_id: binary_sensor.motion_garden
      to: "on"
      variables:
        trigger_message: "Movement detected in the backyard! 🌷"
  motion:
    - service: notify.iphone
      knowledge:
        message: "{{ trigger_message }}"

Oh! And sure: these variables can use templates too!

Different noteworthy adjustments

There’s way more juice on this launch; listed below are a number of the different
noteworthy adjustments this launch:

  • @balloob took a deep dive into the world of media gamers and made positive
    many extra of them now work with the media browser and play media motion!
    In case you use: Bluesound, Denon HEOS, forked-daapd, Linn / OpenHome,
    Logitech Squeezebox, Music Participant Daemon (MPD), Panasonic Viera,
    UniFi Shield, or Yamaha MusicCast, now you can use the media browser!
  • Need to replace the looks of a binary sensor? Now you can do this!
    Whenever you edit the entity within the UI, you’ll be able to choose how it might present up. No
    must customise device_class in YAML anymore. Thanks, @zsarnett!
  • The Materials Design Icons have been up to date! Try all
    these lovely new icons we are able to use now! Thanks, @goyney!
  • Our analytics integration now embrace knowledge on utilizing SSL certificates
    in Dwelling Assistant (sure or no) within the analytics. In fact,
    solely when you’ve got enabled Analytics. Thanks for
    enabling it 💙!
  • Timers can now restore/survive their state throughout restarts. Superior work
    @raman325! Every timer now has a configuration choice to allow restore.
  • @epenet has been cranking out a whole lot of enhancements for the Samsung TV
    integration this month! Shoutout to @bdraco for serving to out on that one too.
  • Android 11 help for the Android TV integration is right here!
    Thanks, @JeffLIrion!
  • Lengthy-awaited and eventually there: Native Hue teams help! Due to
    Signify, who carried out our request for this. This implies Dwelling Assistant can
    now management teams as an entire as a substitute of per gentle. Good and snappy now!
    Thanks for including help to Dwelling Assistant for it @marcelveldt!
  • @thecode added help for the second technology Shelly cowl units;
    thanks!
  • In case your Photo voltaic inverter has a decrease capability than your panels’ mixed
    capability, then @klaasnicolaas has excellent news for you. The
    Forecast.Photo voltaic integration now helps this and may regulate the forecast
    to take your inverter cap into consideration.
  • Media gamers now have controls for the repeat modes within the UI! Thanks,
    @NachtaktiverHalbaffe!
  • RFXCOM RFXtrx now helps sirens and chimes! Thanks, @elupus!
  • The GitHub integration now makes use of occasion subscriptions as a substitute of polling GitHub.
    Glorious work, @ludeeus!
  • The TP-Hyperlink Kasa Sensible integration now helps results for his or her gentle
    strips. Thanks, @bdraco!

New Integrations

We welcome the next new integrations this launch:

Integrations now accessible to arrange from the UI

The next integrations at the moment are accessible by way of the Dwelling Assistant UI:

Need assistance? Be part of the neighborhood!

Dwelling Assistant has a fantastic neighborhood of customers who’re all greater than prepared
to assist one another out. So, be a part of us!

Our very energetic Discord chat server is a wonderful place to be
at, and don’t overlook to affix our wonderful boards.

Discovered a bug or situation? Please report it in our situation tracker,
to get it fastened! Or, examine our assist web page for steering for extra
locations you’ll be able to go.

Are you extra into e mail? Signal-up for our Open Dwelling E-newsletter to
get the most recent information about options, issues taking place in our neighborhood and
different information in regards to the Open Dwelling; straight into your inbox.

Breaking Adjustments

Beneath is an inventory of the breaking change for this launch, per topic or
integration. Click on on a kind of to learn extra in regards to the breaking change
for that particular merchandise.

If you’re a customized integration developer and wish to study breaking
adjustments and new options accessible on your integration: Remember to learn our
developer weblog summarizing all of the adjustments on this launch.

Switches – Vitality attributes

Trafikverket Climate Station

Farewell to the next

The next GPIO Integrations have been beforehand deprecated and have now been eliminated.

  • BeagleBone Black GPIO
  • BH1750
  • Blinkt!
  • BMP280 Environmental Sensor
  • Bosch BME280 Environmental Sensor
  • Bosch BME680 Environmental Sensor
  • DHT Sensor
  • Enviro pHAT
  • HTU21D(F) Sensor
  • MCP23017 I/O Expander
  • MH-Z19 CO2 Sensor
  • Orange Pi GPIO
  • PCAL9535A I/O Expander
  • pi4ioe5v9xxxx IO Expander
  • PiFace Digital I/O (PFIO)
  • Piglow
  • pigpio Daemon PWM LED
  • Raspberry Pi RF
  • Raspihats
  • Sense HAT
  • Sensirion SHT31
  • Time of Flight

Extra details about the removing of GPIO integrations may be present in
Architectural Determination File 0019.

The next integrations are additionally not accessible as of this launch:

  • Apple Push Notification Service (APNS) has been eliminated. This doesn’t
    have an effect on our cellular apps!
    (@frenck#67158)
  • Media Participant Traditional Dwelling Cinema (MPC-HC), the combination is utilizing
    internet scraping, which is not allowed.
    (@frenck#67189)
  • OpenZWave, was beforehand deprecated and is now eliminated. Please use
    Z-Wave JS as a substitute.
    (@frenck#68054)
  • SmartHab has been eliminated. The corporate behind it has been shut down.
    (@outadoc#67874)
  • Z-Wave (the previous zwave integration), was beforehand deprecated and is
    now eliminated. Please use Z-Wave JS as a substitute.
    (@frenck#67221)

All adjustments

In fact, there may be much more on this launch. You could find a listing of
all adjustments made right here:
Full changelog for Dwelling Assistant Core 2022.4



[ad_2]