0.96: Notion, updated sidebar, advanced mode

It's time for Home Assistant 0.96. It's a great 发布, but we also made some changes, so please pay attention.

最后一个支持 Python 3.5 的版本

This will be the last 发布 that supports Python 3.5. Home Assistant 0.97 will require at least Python 3.6. If you are using Hass.io or Docker, you will not have to do anything. If you are running Hassbian, 升级 instructions are here. If you run Home Assistant inside a virtual environment, please follow the instructions for your OS to 更新.

Home Assistant has adopted a new Python support strategy. Starting August 1, we will now support the last two minor stable releases of Python. This is currently Python 3.6 and Python 3.7. Python 3.8 is expected to be released near the end of the year. Once that is released, Python 3.6 support is deprecated and removed 2 months later.

Pimp my 侧边栏

The 侧边栏 has gotten an improved look! Idea started with a mockup by @JuanMTech on Twitter and grew into a full blown implementation. When visiting Home Assistant on 设备 with big screens (tablets, laptops, desktops), the 侧边栏 will now always be visible in a minimized mode with the ability to fully hide it via the profile page. The developer tool 按钮 have been collapsed into a single menu item. The dev tools will now store its exact 状态 when you navigate away, included the dev tool that is open. We've also taken the opportunity to make 通知 accessible from the 侧边栏, instead of only via the Lovelace UI.

On mobile 设备 the 侧边栏 will behave like it previously did. Check the demo for a preview.

Screenshot of the demo with the new 侧边栏. Screenshot of the demo with the new 侧边栏. Click to open.

温控

This 发布 includes a major clean up of our 温控 集成, correcting some architectural flaws from the past. The goal of this clean up was to a better job at providing an abstraction layer that fits many 设备. This will improve compatibility with 服务 that interact with Home Assistant (like Alexa/Google) and will allow us to make sure the UI works for everyone. We've done a lot of testing during the beta, but there might still be things that don't work as expected. If you notice anything, please report by opening a bug report.

For a breakdown of what was driving the change, check our 博客 post on the dev 博客.

The following things have been changed:

  • operation_mode has been renamed to hvac_mode to emphasize what the mode is for.
  • We split HVAC mode auto into auto and heat_cool. If it's heat_cool, the 用户 has set a temperature range the 设备 has to use heating and cooling to stay within. Auto mode is now limited to 设备 that are running on a schedule or AI.
  • The 状态 of a 温控 实体 is now always equal to the HVAC mode.
  • hvac_action is introduced for 集成 that know the current 动作: heating, cooling, idle.
  • set_away_mode and set_hold_mode have been merged into set_preset_mode. So instead of turn_away_mode_on(), we will now call set_preset_mode("away").
  • The is_on property has been removed. If a 设备 is able to 关闭, it should include the HVAC mode HVAC_MODE_OFF.
  • Property names have been aligned, anything ending with "_list" is now named "_modes".
  • 集成 are only allowed to represent functionality that is present in the API. It is not allowed to add your own fake away mode.

Huge thanks to @pvizeli who drove the 核心 implementation and to the following people for helping getting it past the finish line:

高级模式

As part of Home Assistant 1.0 effort, we're simplifying the default 用户 interface. We're doing this by hiding certain 配置 options like the customize 面板 behind a new "advanced mode" 切换. You can find this 切换 on your profile page.

Advanced mode is only available to admin 用户 and is a per-用户 setting. Enabling it for yourself won't enable it for other admins.

In other news…

树莓派 4 support has arrived in beta. @pvizeli has been hard at work and the first beta 发布 is available. If you flash this 图像, you will be able to 更新 to a stable 发布 later from within the UI.

Big shout out to @frenck who has been doing a lot of clean up on the website. Like, a lot lot. He has removed over 20.000 unused lines of code, and has simplified how we render code blocks, pages and headers. It takes Jekyll now a mere 14 seconds to generate the whole website! It used to be 6 minutes! 😲

Last week @balloob showed a preview of the upcoming Home Assistant Cast, a new interface for Home Assistant that runs on Chromecasts and Google Assistant 设备 with screens.

The Home Assistant code repository on GitHub has hit 25.000 stars! 🤩

The Home Assistant Podcast has published episode 53 to discuss all the ins and outs of this new 发布.

@isabellaalstrom has redone her Lovelace UI and it is looking fabulous!

New 集成

New Platforms

发布 0.96.1 - July 18

发布 0.96.2 - July 19

发布 0.96.3 - July 21

发布 0.96.4 - July 23

发布 0.96.5 - July 25

如果你需要帮助……

……欢迎随时使用我们非常活跃的论坛,或者加入我们的 聊天频道

反馈问题

如果这次发布引入了问题,请前往我们的 issue tracker 提交反馈。请务必填写 issue 模板中的所有字段。

Backward-incompatible changes

  • OpenTherm - Adds support for more than one OpenTherm Gateway 设备 which changes the 配置 structure. (@mvn23 - #22932) (opentherm_gw docs)

    Example 配置:

    opentherm_gw:
      living_room:
        device: /dev/ttyUSB0
  • Ambient 天气 Station - By default, the Ambient solar radiation (i.e., brightness) 传感器 is measured in W/m². Since this unit of measurement is not used anywhere else, this change updates the 传感器 to use the more prevalent lx unit. Any 自动化 that use this 传感器 should be updated accordingly. (@bachya - #24690) (ambient_station docs)

  • Google Cloud - Changed the default encoding to mp3 from opus ogg, allowing it to support many more media players. (@GrandNewbien - #24808) (google_cloud docs)

    Example 配置:

    tts:
     - platform: google_cloud
       key_file: googlecloud.json
       encoding: mp3 # The new default, which can still be changed to opus ogg or linear16
  • SimpliSafe - The SimpliSafe 报警 control 面板 no longer shows a temperature 属性. (@bachya - #24833) (simplisafe docs)

  • Luftdaten - The under-laying Python module is now limited to the P1 (particles 10 microns and below) and P2 (particles 2.5 microns and below), which means you have to recreate your 传感器. (@fabaff - #24842) (luftdaten docs)

  • Velbus - Added autodicovery for 遮盖 in velbus and bumped the python velbus 版本 (@Cereal2nd - #24877) (velbus docs)

  • ZHA - ZHA 实体 are being removed and battery 传感器 are being added. We have been asked several times to remove the ZHA domain 实体 because they do not follow the HA standards. They were originally used to show 设备 online / offline status, rssi, lqi and last seen. They were eventually expanded to hold battery information as well because many Zigbee 设备 have several power 配置 clusters. Online and offline handling, rssi, lqi last seen and the handling of 设备 availability have all been moved to the 设备 object and battery information has been split back out into its own 传感器. Any 用户 that 创建 模板 传感器 that leveraged the data in the ZHA 实体 will be affected by this change. (@dmulcahey - #24909) (zha docs)

  • Netatmo - If the module type can not be determined the 温控 设备 will default to the type "valve" as it implements a subset of "thermostat". Consequently those 设备 wont be able to be turned off. This should not be a major issue and should only happen when there are issues with the data retrieved form the Netatmo API. (@cgtobi - #25029) (netatmo docs)

  • Netatmo - The 配置 of individual monitored 条件 has been removed so that now all 条件 are available per module by default. (@cgtobi - #24944) (netatmo docs)

  • GeoJSON Events - 更新 geojson_client library to 版本 0.4.This changes the access to the external feed from HTTP to HTTPS for the nsw_rural_fire_service_feed platform. This should normally not make any difference to anyone consuming this feed. Only if for example you have set up a 模板 传感器 or 自动化 that reads the external_id 属性 of a geo_location 实体 and compare it against a pattern, would you need to change this. (@exxamalte - #25039) (geo_json_events docs) (nsw_rural_fire_service_feed docs) (usgs_earthquakes_feed docs)

Beta Fixes

All changes