0.118: Grid and logbook cards, quick navigation, native template types

Home Assistant Core 0.118!

The second last release of 2020, while the end of the year is slowly closing in.

This also means we have only one more release left this year… And we plan to finish the year with a big bang! Also announced: the Home Assistant Conference. I am really excited about that one! The last major release of this year will be during the conference on December 13.

Back to 0.118! Some nice additions this release: Navigating around with the Quick bar (oh, I just love that feature), some new Lovelace cards, native types in templates is now the default and the Nest thermostat is back! 🎉

All in all, a fine release, with an exciting one ahead of us.

../Frenck

Table of contents

Home Assistant Conference

Exciting news! Home Assistant is hosting an online conference this year!

An event to celebrate our community, share ideas, history, creations and celebrate major milestones! The event will take place on Sunday, December 13.

Paulus Schoutsen, the founder of Home Assistant, will give the opening and closing keynote, aided by other Home Assistant developers. In between, we have three different tracks of talks (for everyone, advanced users and developers) with a total of 16 different talks.

Check out the conference schedule to see the subjects of the talks and the list of speakers.

The Home Assistant Conference will be hosted on Hopin, an online conference platform. Tickets to attend will cost $1, which will cover the cost of the platform.

Get your ticket

The conference will also be available as a free YouTube live stream. The live stream will be limited to the keynotes and the “everyone” track. You won’t have access to the chat and have that online conference feeling, so we recommend getting a ticket!

For the latest information, check our dedicated Home Assistant Conference page.

Grid Card

Ever since the start of Lovelace, users have been making grids. However, this was not easy as it involved fiddling by combining horizontal and vertical stacks — a confusing and frustrating experience.

@balloob to the rescue! This release adds a new Grid Card. You won’t have to write a complicated YAML soup combining both horizontal and vertical stacks.

The Grid Card offers straight forward options to mimic these setups and adds an option to force each card to be square to boot.

Screenshot of Grid Card.

*Note that the square option won’t work with all cards.

Quick Bar navigation

The Quickbar, which was introduced in Home Assistant 0.117, really took off! We are happy to see you like it.

If you haven’t tried the new Quick Bar yet… you should! It is a quick and easy way to get to entities or run commands. From anywhere in Home Assistant; press e for entities or c for commands.

This release, support for navigating Home Assistant via the Quick Bar was added. You can now jump to any place, from any place. Amazing job @donkawechico

Screenshot of navigating around using the Quick Bar.

Native types support for templates

Announced in 0.117, but now by default enabled. Native template types allow templates to result in not just strings (text), but also other types.

Ever tried to make a list of entities or set an RGB color via a template? If so, you probably would have learned, that it is not that simple. In Home Assistant, the result of a template always has been a piece of text (a string), even if you made a list.

script:
  my_script:
    alias: Example
    description: Example script with native lists in templates
    variables:
      entities:
        - light.living_room_window
        - light.living_room_table
      color: [255, 0, 0]
    sequence:
      service: light.turn_on
      data:
        entity_id: "{{ entities }}"
        rgb_color: "{{ color }}"

This is an extremely powerful change to our template engine, that allows for more advanced future additions and can significantly reduce the complexity of existing templates in your set up.

It should be mostly compatible with your existing templates; However, be sure to check the breaking changes section for known possible breaking scenarios.

Logbook Card

Another new Lovelace card this release. @zsarnett added the Logbook Card.

This card allows you to show the logs of one (or more) entities on a Lovelace Dashboard. This can be really helpful if you want to monitor, for example, the motion events of a sensor or a camera.

Screenshot of the new Logbook Card.

Header & Footer Editor

Entity cards in Lovelace have support for customizing the header and footer of that card. This is really useful for adding a nice image, a couple of buttons or a graph to the card.

Up until now, you needed some YAML magic to achieve that. Thanks to @zsarnett we now have a Header & Footer editor available in the UI making this feature much easier to use.

Screenshot of the new Header/Footer editor.

Supervisor Network Configuration

Expected to be available soon, a new Supervisor version which includes a new network layer with added support for wireless networks, multiple network interfaces and even VLANs.

This should cover most of the feature requests we had around networking.

New Supervisor Network configuration UI

The next step is that we use all the information from our new network backend to simplify some add-ons. Also, updates for Snapshot/Restore of these network settings are planned.

Home Assistant OS

The last few days, two new Home Assistant OS releases have been published.

While 4.17 continues to make small improvements in the 4.x release series, the latest pre-release 5.5 comes closer to our goals to declare 5.x release series stable. In particular, this pre-release includes the Linux 5.4 kernel for all Raspberry Pis! We also intend to declare 64-bit the recommended installation method for Raspberry Pi 4.

Release 5.5 is also the first release to support Hardkernel’s ODROID-C4, a very cost-effective single board computer featuring the Amlogic S905X3 SoC and 4GB of DDR4 memory (thanks @ubergeek801). Testers welcome!

Other noteworthy changes

  • The new Nest SDM integration now supports thermostats! Thanks, @allenporter!
  • Entity pickers in the UI will now show the full name of the entities. Thanks, @spacegaier!
  • The Roon media player now supports media browsing but also has support for grouping and transferring between different players. Thanks @pavoni
  • @cnorick added a button to duplicate Scripts from the UI.
  • The Shelly integration now has real-time status updates, which has been implemented by @thecode!
  • @apop880 prepared the WLED integration for Christmas by adding a service for loading WLED presets.
  • Date pickers in entity cards have been replaced with a modern, good looking version. Thanks, @thomasloven!
  • @joshmcrty Made numbers shown in the frontend formatted in a way that matches your language settings.
  • @spacegaier has been busy improving the frontend, making it more accessible to people with disabilities. In this case, ARIA (Accessible Rich Internet Applications) labels have been added, so screen readers can use our + buttons. Thanks!

New Integrations

We welcome the following new integration this release:

New Platforms

The following integration got support for a new platform:

  • 1-Wire now supports binary sensors and switches, added by @epenet

Integrations now available to set up from the UI

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

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.


This is a companion discussion topic for the original entry at https://www.home-assistant.io/blog/2020/11/18/release-118/
4 Likes

Always waiting for new releases and as soon as email arrive!! BAM… we are so happy. Amazing work guys. The product is evolving so fast and with so many features. A big Thank You to all of the contributors. Definitely ticket is worth purchasing to attend the conference!!

Awesome! When can we expect official support for RPi4 usb-boot?

6 Likes

Wait, where do I sign up for the update emails?

1 Like

Thank you for your work!

There are so many interesting talks at the conference — https://hopin.com/events/home-assistant-conference#schedule Will they be available as a video to view after the conference? If so, will they be publicly available, or available only to those who have bought the $1 ticket?

1 Like

What time does the conference starts? I can see the time in the header https://hopin.com/events/home-assistant-conference#schedule but I’m not 100% sure that the time is shown correctly (it is showing the start time as 8:00PM Moscow time — that is 17:00 UTC)

Checkout the frontend changes here: https://youtu.be/BSlCiTcZBXY

4 Likes

Time the keynote starts 19:00 CET
See for your timezone: https://www.timeanddate.com/worldclock/fixedtime.html?msg=Home+Assistant+Conference&iso=20201213T19&p1=16&ah=4

Hopin doors open an hour before that.

Check the conference page for more information: https://www.home-assistant.io/conference

All your questions are answered there :wink:

1 Like

You need a user on github and then go to https://github.com/home-assistant/core and select «Releases only» (for example) in the Notifications drop-down menu

No need to say more than grid card!

3 Likes

Thank you @all developers! It is really cool to every time look forward to an update! It feels like a present every time. Looking forward to the big 119 end of year!

Thanks again!

After upgrading HA to 0.118 my history graph with slider stopped working:

cards:
  - type: entities
    entities:
      - type: 'custom:slider-entity-row'
        entity: input_number.graph_hours
        name: Czas
        full_row: true
  - card:
      entities:
        - entity: sensor.sun2000_8ktl_m0
          name: Produkcja AC
      hours_to_show_template: '{{ states(''input_number.graph_hours'')|float}}'
      refresh_interval: 30
      type: history-graph
    entities:
      - input_number.graph_hours
    type: 'custom:card-templater'
type: vertical-stack

I’m getting error in log:

hacsfiles/lovelace-card-templater/lovelace-card-templater.js:10:2737 TypeError: n.replace is not a function

Any idea what should I changed?

2 Likes

Really hope that the new release will be 119 (without the leading zero)

1 Like

Yup exactly what it say here :point_up_2:

Just had an easy and smooth update, thanks everyone!

Now to start using the grid card and color extractor, HA gets better and better every release.

110% agreed

Small typo in release notes under the “Notion” section, it refers to “Flu Near You” - copy paste error :slight_smile:

What happened with fonts, now it is notably smaller? Also, does anyone consider that colours in standard dark theme are mismating and look quite ugly? Maybe it is up to someone taste, but the new UI doesn’t look clean.

Does those people who work on Shelly aware of https://github.com/StyraHem/ShellyForHASS ? I’ve been using it for more than year and seems it quite stable

4 Likes

updated, all working fine, except for the new feature for synology dsm
i think this new PR: https://github.com/home-assistant/core/pull/42378

get error below

2020-11-18 21:47:51 ERROR (MainThread) [homeassistant.components.binary_sensor] Error adding entities for domain binary_sensor with platform synology_dsm
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 316, in async_add_entities
    await asyncio.gather(*tasks)
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 507, in _async_add_entity
    await entity.add_to_platform_finish()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 531, in add_to_platform_finish
    self.async_write_ha_state()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 296, in async_write_ha_state
    self._async_write_ha_state()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 320, in _async_write_ha_state
    sstate = self.state
  File "/usr/src/homeassistant/homeassistant/components/binary_sensor/__init__.py", line 158, in state
    return STATE_ON if self.is_on else STATE_OFF
  File "/usr/src/homeassistant/homeassistant/components/synology_dsm/binary_sensor.py", line 87, in is_on
    return getattr(self._api.upgrade, self.entity_type)
  File "/usr/local/lib/python3.8/site-packages/synology_dsm/api/core/upgrade.py", line 23, in update_available
    return self._data["update"].get("available")
KeyError: 'update'
2020-11-18 21:47:51 ERROR (MainThread) [homeassistant.components.binary_sensor] Error while setting up synology_dsm platform for binary_sensor
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 207, in _async_setup_platform
    await asyncio.gather(*pending)
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 316, in async_add_entities
    await asyncio.gather(*tasks)
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 507, in _async_add_entity
    await entity.add_to_platform_finish()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 531, in add_to_platform_finish
    self.async_write_ha_state()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 296, in async_write_ha_state
    self._async_write_ha_state()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 320, in _async_write_ha_state
    sstate = self.state
  File "/usr/src/homeassistant/homeassistant/components/binary_sensor/__init__.py", line 158, in state
    return STATE_ON if self.is_on else STATE_OFF
  File "/usr/src/homeassistant/homeassistant/components/synology_dsm/binary_sensor.py", line 87, in is_on
    return getattr(self._api.upgrade, self.entity_type)
  File "/usr/local/lib/python3.8/site-packages/synology_dsm/api/core/upgrade.py", line 23, in update_available
    return self._data["update"].get("available")
KeyError: 'update'