Happy August! ☀️
Home Assistant Core 2021.8 is here, and this is the release I have been looking
forward to for months! There is so much exciting new stuff in here: I don’t
know where to start.
The most exciting part is the new main focus that is added to Home Assistant:
Home Energy management.
A massive deal for a lot of people, no matter if you are doing it for
environmental reasons or simply to save a buck or two (or both 😬). Knowing
that moving forward, it will be an additional focus, I think, is amazing.
But besides the Energy management stuff, I’m also excited about the side effects
of it. A lot of things created for Energy, are also re-usable for other things!
That is how we roll, right?
We get long-term statistics, new super nice and fast graphs, and a new
layout option for Lovelace. All the building blocks are available for
customization and re-use. I am looking forward to seeing how they are going
to be put to use.
Anyways, enjoy the release! And don’t forget the drop by
the release party on YouTube
later today (9:00 PM CET).
../Frenck
Matthias de Baat joins Nabu Casa
Let start by announcing that Matthias de Baat
is joining the team at Nabu Casa to work on
Home Assistant as a UX-designer.
UX stands for “User Experience”, which is Matthias’ area of expertise and what
he will be working on improving. His goal is to make Home Assistant easier to
use and accessible for everyone. He will be setting up design processes and
tooling, doing user research and making designs.
If you are interested in joining the Home Assistant user research group, you
can show your interest by filling in this Google Form
that Matthias has prepared.
Welcome Matthias! Excited to have you on board!
But wait! There is more!
Otto Winter, the founder of ESPHome, will
be joining Nabu Casa during his summer break as well! Welcome Otto! This summer
is going to be fantastic!
Home Energy Management!
This feature is a big thing; A start of something new. Home Assistant is going
to provide you insight into your energy usage.
But this needs more than just a paragraph in the release notes, this needs
its own blog! So, at this point, stop reading the release notes (momentarily)
and read the blog Paulus has written about this:
Read the blog about the new Home Energy Management features of Home Assistant
Long term statistics
Storing sensor data for a more extended period using the recorder, can make your
database grow pretty fast (especially if you have sensors that update a lot!).
In the previous releases, we’ve worked towards improving this situation and
laid down the groundwork for tracking statistics in the database;
We are making it widely available this release!
Integrations can now hint Home Assistant about the type of value the sensor
represents, allowing us to process and store that data in a more efficient way.
Every hour, we calculate things like mean, min/max values, or the difference
created that hour and store just that result in our long-term statistics.
These statistics is what partly powers the new Energy dashboard, however,
they can be used for anything else: Introducing the Lovelace statistics graph card.
Screenshot of the new Lovelace statistics graph card.
This card can make beautiful graphs, allowing you to make graphs for any of
your stored long-term statistical data. It can render as a line or bar chart.
Bars are suited for metered
entities that have a summed value. Lines are
perfect to display the mean
, min
and max
of the entity.
The support for long-term statistics is limited at this moment. We are
expecting to open it up for more measurements in the upcoming releases while
more integrations are adding support for these new measurement types.
Sidebar view
The default layout you see in Lovelace (which we generally all use), is called
the “masonry” layout. We also have a panel view/layout that stretches a single
card to the whole view. This release brings in a brand new view layout: Sidebar.
This new sidebar view has two columns, a wide one and a small one on the right.
It is perfect for displaying larger cards like graphs (like that nice new
statistics graph card), or maps. While having some additional smaller cards
with information on the side.
The new Energy dashboard uses this new view layout, but of course, made
available for use in other Lovelace dashboards as well.
Screenshot of new Lovelace sidebar view layout.
Gauge card now has needle mode
A nice little addition to the Lovelace gauge card: Needle mode!
Instead of showing a value and filling it partially, in needle mode, it will
show the full gauge but point out the value with a needle. And, if you add
severity to your gauge card configuration, it will always be shown.
Screenshot of the Gauge card in needle mode with severity configured.
These settings are available straight from the Lovelace UI editor; More
information and examples can be found in the Gauge card documentation.
Currency core setting
To support the display of financial values, we’ve added a new setting to Home
Assistant that allows you to define the currency Home Assistant should use
in cases it relies on your input.
You can find this new currency setting in the general settings of Home Assistant.
This setting is used for the cost calculation of the new energy features.
Siren
The last release, we introduced the select
entity,
this release, we introduce the siren
entity! 🚨
Thanks to @raman325 for adding this noisemaker to the family! He also
implemented the first integration to add support for Sirens: the Z-Wave JS
integration. So, if you have a Z-Wave enabled Siren, you can now control it.
Locking, Unlocking and Jammed
Locks in Home Assistant can be a little bit smarter as of today, thanks
to @bdraco. Besides the locked & unlocked states, support for locking,
unlocking and jammed has been added.
Support for these new states has been added to the August, HomeKit Controller
and template integrations. Additionally, HomeKit, Alexa and Google Assistant
have been made compatible and aware for these states as well.
Scripts/Automations/Templates
Some new features landed for script, automations and templates this release.
This
When an automation or script is triggered to run, a new variable is available:
this
. This variable contains the state object
of the automation or script running and allows you to access information about
the automation directly. Thanks, @r-t-s!
Device template functions
If you like to write YAML automations manually, are using templates, and require
device IDs or device information, than you know those IDs are hard to find and
the device information is not available at all.
@raman325 added some new template functions that can be helpful when working
with devices.
device_entities(device_id)
returns a list of entities associated
with a given device ID (can also be used as a filter).
device_attr(device_or_entity_id, attr_name)
returns the value of attr_name
for the given device ID or entity ID.
is_device_attr(device_or_entity_id, attr_name, attr_value)
returns whether
the value of attr_name
for the given device ID or entity ID matches attr_value
.
device_id(entity_id)
returns the device ID for a given entity ID
(can also be used as a filter).
Thanks for these powerful new features!
Other noteworthy changes
There is much more juice in this release; here are some of the other
noteworthy changes this release:
- Thanks to @firstof9, Z-Wave JS now has support for transitions with lights!
- More Z-Wave JS improvements by @raman325. He added support for device
triggers and conditions. Thanks!
- You can now assign a unique ID to light, cover and media player groups,
allowing you to manage them from the Home Assistant frontend and assign
them to an area!
- The motionEye integration now has support for motion detection, thanks @dermotduffy
- ZHA can now work with Formaldehyde and VOC level sensors, thanks @Adminiuga
- @posixx added a new feature for integration that provide alarm panels;
those integrations can now update to support Vacation mode!
- Rainbird now has a service to change the rain delay, thanks @Kr0llx!
- If you are using BMW Connected Drive, @EddyK69 added a lot of trip sensors.
- Sonos snapshots now behave, are more robust and work as expected. Additionally,
support for controlling crossfade has been added, thanks @jjlawren!
- WLED now supports controlling the new playlists features introduced in WLED 0.13.
- @farmio added support for KNX lights that use HS-colors, thanks!
- And @joncar added support for transitions to LiteJet lights, awesome!
- If you have MFA on your Tesla account, thanks to @BreakingBread0,
the integration now supports that.
- When using the Netatmo integration, you can now control the schedule it
should be using with a select entity. Thanks, @cgtobi!
- @janiversen added more data types to modus and added array write to
the turn on/off capabilities of Modbus switches, fans and lights.
- Advantage Air now has temperature sensors for each zone, thanks @Bre77!
- Gree Climate now has switches to support more modes, thanks to @cmroche!
- You can now remove holidays from the workday sensor by name instead of
date. This is useful for holidays they don’t have a fixed date each year.
Thanks @matthewgottlieb!
- HomeKit will not auto-recreated TVs when sources are out of sync. One thinsg
less to worry about, thanks @bdraco
- @jbouwh has drastically reworked and extended the Humidifier support for
the Xiaomi Miio integration. Amazing job!
New Integrations
We welcome the following new integrations this release:
New Platforms
The following integration got support for a new platform:
- Belkin WeMo added sensors for energy usage. Added by @esev
- Freedompro now supports binary sensors, sensors, switches, locks, covers, climate and fans! Added by @stefano055415
- GIOŚ now has sensors for replacing the air quality platform, added by @bieniu
- Goal Zero Yeti, added sensors that provide a lot of information, added by @tkdrob
- Itho Daalderop Spider, added sensors for energy usages. Added by @peternijssen
- Mill, added support for sensors for its energy consumption, added by @Danielhiversen
- motionEye now exposes switches, added by @dermotduffy
- TP-Link Kasa Smart added sensors for energy usage. Added by @mib1185
- Velux now supports lights, added by @bramstroker
- Z-Wave JS now supports sirens, added by @raman325
Integrations now available to set up from the UI
The following integrations are now available via the Home Assistant UI:
Release 2021.8.1 – August 4
- Fix Panasonic Viera TV going unavailable when turned off (@Hyralex – #53788) (panasonic_viera docs)
- Add temporary fix to modbus to solve upstream problem (@janiversen – #53857) (modbus docs)
- Fix attr_unit_of_measurement in update of apcupsd entity (@mib1185 – #53947) (apcupsd docs)
- Fix coordinator not defined in yale_smart_alarm (@gjohansson-ST – #53973) (yale_smart_alarm docs)
- Fix divider for Fritz sensors (@chemelli74 – #53980) (fritz docs)
- Fix empty sonos_group entity attribute on startup (@jjlawren – #53985) (sonos docs)
- Update frontend to 20210804.0 (@bramkragten – #53997) (frontend docs)
Release 2021.8.2 – August 5
- Bump pylitterbot to 2021.8.0 (@natekspencer – #54000) (litterrobot docs)
- Add missing device class to SAJ energy sensors (@frenck – #54048) (saj docs)
- Handle empty software version when setting up HomeKit (@bdraco – #54068) (homekit docs)
- Bump up ZHA dependencies (@puddly – #54079) (zha docs)
- Packages to support config platforms (@balloob – #54085) (automation docs) (script docs) (template docs)
- Fix Shelly last_reset (@thecode – #54101) (shelly docs)
- Two fixes (@chemelli74 – #54102) (fritz docs)
- Increase time before scene and script HomeKit entities are reset (@bdraco – #54105) (homekit docs)
- Bump zeroconf to 0.33.3 (@bdraco – #54108) (zeroconf docs)
Release 2021.8.3 – August 6
- Gracefully handle additional GSM errors (@ocalvo – #54114) (sms docs)
- Handle software version being None when setting up HomeKit accessories (@nzapponi – #54130) (homekit docs)
- Fix sensor PLATFORM_SCHEMA for ebox and enphase_envoy (@mib1185 – #54142) (enphase_envoy docs)
- Fetch interface index from network integration instead of socket.if_nametoindex in zeroconf (@bdraco – #54152) (zeroconf docs) (network docs)
- Bump zeroconf to 0.33.4 to ensure zeroconf can startup when ipv6 is disabled (@bdraco – #54165) (zeroconf docs)
Release 2021.8.4 – August 8
- Add missing
motor_speed
sensor for Xiaomi Miio humidifier CA1 and CB1 (@bieniu – #54202)
- Fix update entity prior to adding (@Trinnik – #54015) (aladdin_connect docs)
- Fix androidtv media_image_hash (@tkdrob – #54188) (androidtv docs)
- Solve missing automatic update of struct configuration in modbus (@janiversen – #54193) (modbus docs)
- Update const.py (@Mk4242 – #54195) (ebusd docs)
- Add parameter to delay sending of requests in modbus (@janiversen – #54203) (modbus docs)
- Bugfix: Bring back unique IDs for ADS covers after #52488 (@carstenschroeder – #54212) (ads docs)
- Don’t block motionEye setup on NoURLAvailableError (@dermotduffy – #54225) (motioneye docs)
- Pin google-cloud-pubsub to an older version (@allenporter – #54239)
Release 2021.8.5 – August 9
- Fix camera state and attributes for agent_dvr (@tkdrob – #54049) (agent_dvr docs)
- Force an attempted subscribe on speaker reboot (@geuben – #54100) (sonos docs)
- Fix login to BMW services for rest_of_world and north_america (@rikroe – #54261) (bmw_connected_drive docs)
- Always set interfaces explicitly when IPv6 is present (@bdraco – #54268) (zeroconf docs)
- Fix atom integration for long term statistics (@ZeGuigui – #54285) (atome docs)
- Use correct state attribute for alarmdecoder binary sensor (@tkdrob – #54286) (alarmdecoder docs)
- Bump soco to 0.23.3 (@jjlawren – #54288) (sonos docs)
- Fix ondilo_ico name attribute (@cdce8p – #54290) (ondilo_ico docs)
- Bump zeroconf to 0.34.3 (@bdraco – #54294) (zeroconf docs)
- Ensure hunterdouglas_powerview model type is a string (@bdraco – #54299) (hunterdouglas_powerview docs)
- Remove zwave_js transition on individual color channels (@firstof9 – #54303) (zwave_js docs)
- Restores unit_of_measurement (@dgomes – #54335) (integration docs)
- Fix xiaomi air fresh fan preset modes (@jbouwh – #54342) (xiaomi_miio docs)
- Update frontend to 20210809.0 (@bramkragten – #54350) (frontend docs)
- Fix Xiaomi-miio turn fan on with speed, percentage or preset (@jbouwh – #54353) (xiaomi_miio docs)
- Fix aqualogic state attribute update (@dailow – #54354) (aqualogic docs)
- Cast SimpliSafe version number as a string in device info (@bachya – #54356) (simplisafe docs)
- Do not process forwarded for headers for cloud requests (@balloob – #54364) (http docs) (cloud docs)
- Revert “Use entity class attributes for Bluesound (#53033)” (@balloob – #54365) (bluesound docs)
- Update Climacell rate limit (@raman325 – #54373) (climacell docs)
- Fix race condition in Advantage Air (@Bre77 – #53439) (advantage_air docs)
Release 2021.8.6 – August 10
- Handle CO2Signal response value being None (@balloob – #54377) (co2signal docs)
- Fix Canary sensor state (@ludeeus – #54380) (canary docs)
- Re-add Tibber notify service name (@Danielhiversen – #54401) (tibber docs)
- Bump hass_nabucasa to 0.46.0 (@balloob – #54421) (cloud docs)
- Bump pyopenuv to 2.1.0 (@bachya – #54436) (openuv docs)
Release 2021.8.7 – August 15
- Use pycarwings2 2.11 (@filcole – #54424) (nissan_leaf docs)
- Fix Huawei LTE entity state updating (@scop – #54447) (huawei_lte docs)
- Strip attributes whitespace in universal media_player (@0xFelix – #54451) (universal docs)
- Bump notifications-android-tv to 0.1.3 (@tkdrob – #54462) (nfandroidtv docs)
- Updates to bump MyQ to 3.1.2 (@ehendrix23 – #54488) (myq docs)
- Add missing PRESSURE_BAR conversion (@Danielhiversen – #54497)
- Treat temporary errors as warnings for Tesla (@alandtse – #54515) (tesla docs)
- Fix attributes not showing after using entity class attributes (@gerard33 – #54558) (bmw_connected_drive docs)
- Upgrade qnapstats library to 0.4.0 (@colinodell – #54571) (qnap docs)
- Fix bug in ambiclimate (@Danielhiversen – #54579) (ambiclimate docs)
- Fix Tibber last reset (@Danielhiversen – #54582) (tibber docs)
- Adax, update requirements (@Danielhiversen – #54587) (adax docs)
- Clamp color temperature to supported range in ESPHome light (@oxan – #54595) (esphome docs)
- Bump zeroconf to 0.35.0 (@bdraco – #54604) (zeroconf docs)
- Bump py-synologydsm-api to 1.0.4 (@mib1185 – #54610) (synology_dsm docs)
- Guard partial upgrade (@balloob – #54617) (http docs)
- Solve switch/verify register type convert problem in modbus (@janiversen – #54645) (modbus docs)
- Send color_brightness to ESPHome devices on 1.20 (pre-color_mode) (@jesserockz – #54670) (esphome docs)
Release 2021.8.8 – August 18
- Fix TPLink emeter reset not updating (@TomBrien – #54848) (tplink docs)
- Fix tplink doing I/O in event loop and optimize (@rytilahti – #54570) (tplink docs)
- Fix ‘in’ comparisons vesync light (@cdce8p – #54614) (vesync docs)
- Update PyMetEireann to 2021.8.0 (@DylanGore – #54693) (met_eireann docs)
- Fix BMW remote services in rest_of_world & north_america (@rikroe – #54726) (bmw_connected_drive docs)
- Fix HomeKit cover creation with tilt position, open/close, no set position (@bdraco – #54727) (homekit docs)
If you need help…
…don’t hesitate to use our very active forums or join us for a little chat.
Experiencing issues introduced by this release? Please report them in our issue tracker. Make sure to fill in all fields of the issue template.