0.93: Essent, AmbiClimate, VS Code debugging

又到了 0.93 发布,这次内容相当精彩。因为我在出差,所以比平时晚了一天发布。Frenck 每周二和周五都会直播他在 Home Assistant / Hass.io 上的工作,而上周二我决定给他一个惊喜,在直播时直接去他家 😛。结果我们和观众一起聊了超过 3 个小时的 Home Assistant 相关话题。完整对话可以查看 Frenck 的博客。下面是我走进直播时的片段:

上周我们还写了一篇关于 Home Assistant 今年更新后规划的文章。如果你还没读过,值得一看!

如果你是 Nest 用户,这里有个坏消息:Google 宣布他们将在 8 月底关闭 Nest API。这将导致 Nest 硬件无法再与 Home Assistant 配合使用 (╯°□°)╯︵ ┻━┻。更新: 他们后来调整了计划,现在只会影响新用户。

和往常一样,本次发布也伴随着 Home Assistant Podcast 的新一期节目。Rohan 和 Phil 讨论了这次发布、Nest API 以及更多内容。这已经是他们的第 50 期节目了,恭喜达成这个里程碑!

Pascal 更新了我们构建 Hass.io 的方式。现在在开发 Home Assistant 的同时,构建流程也会保持最新,这意味着 Hass.io 的构建版本在发布博客发出之前就已经准备好了!

Home Assistant 1.0

As we mentioned in our updated plans post, we're working hard on Home Assistant 1.0. Over the next releases we will work on polishing the UI, the 后端 architecture, and everything in between.

One of the new things that we introduced is a new step in our onboarding allowing 用户 to set up 集成. We will automatically highlight discovered 集成. Once the 用户 finishes the onboarding flow, 实体 will be automatically grouped by the 区域 that they are in. Neat!

We've also been working on polishing parts of our config UI. The 自动化 editor will now show all 自动化, the last time they got triggered, and allow 用户 to enable/disable them.

Screenshot of the updated 自动化 editor. Screenshot of the updated 自动化 editor.

Sonos

The Sonos 集成 has a number of changes in this 发布, some of them breaking existing 配置.

First, the Sonos custom 服务 have been moved to the sonos domain. The new 服务 names are as follows:

  • sonos.join (before: media_player.sonos_join)
  • sonos.unjoin (before: media_player.sonos_unjoin)
  • sonos.snapshot (before: media_player.sonos_snapshot)
  • sonos.restore (before: media_player.sonos_restore)
  • sonos.set_sleep_timer (before: media_player.sonos_set_sleep_timer)
  • sonos.clear_sleep_timer (before: media_player.sonos_clear_sleep_timer)
  • sonos.update_alarm (before: media_player.sonos_update_alarm)
  • sonos.set_option (before: media_player.sonos_set_option)

The last four of those 服务 no longer target all 实体 by default since that is usually a mistake. The entity_id 属性 is thus becoming mandatory for those 服务. If you really do want to target all you can use entity_id: all.

Next, YAML 配置 of Sonos under the media_player: key is no longer accepted. While auto-配置 through the 集成 UI is now the preferred way, static 配置 can still be specified under a sonos: key, for example:

sonos:
  media_player:
    hosts:
      - 192.0.2.25
      - 192.0.2.26

For those of you that like to power down your Sonos, Home Assistant should now handle that without logging 错误. Also, speakers that are powered on will be added to Home Assistant without needing a 重启.

New 集成

New Platforms

发布 0.93.1 - May 17

发布 0.93.2 - May 22

如果你需要帮助……

……欢迎随时使用我们非常活跃的论坛,或者加入我们的 聊天频道。虽然发布说明也开放评论,但我们更希望你优先使用前面的沟通渠道。谢谢。

反馈问题

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

Backward-incompatible changes

  • Homematic IP Cloud - Adds homematicip cloud temperature 传感器 from thermostats. 实体 IDs of HmIP-SLO (灯光 传感器 Outdoor) will change and stale 实体 will need to be removed from the 实体 registry. (@SukramJ - #23263) (homematicip_cloud docs)

  • Pollen.com

    • IQVIA is the parent company which hosts a variety of sites (https://pollen.com, https://flustar.com, etc.) from which valid data can come. To accommodate this, the Pollen.com 传感器 platform is now the IQVIA component and the 配置.yaml schema has changed accordingly. (@bachya - #22986) (iqvia docs) (pollen docs)

    • The IQVIA component no longer provides historical data for allergen and asthma 条件. Tactically, this means all historical 传感器 – including "Yesterday" 传感器 – will no longer appear; 用户 will need to 更新 any 自动化 that previously relied on these 传感器. (@bachya - #23258) (iqvia docs)

      Example 配置:

      iqvia:
        zip_code: "12345"
  • Sonos

    • Configuring the Sonos 集成 as a 媒体播放器: platform in 配置.yaml was deprecated in 0.72 and has now been removed. Please see the notes above in this 发布 post as well as the component 文档 for further info. (@amelchio - #23385) (sonos docs)
    • Sonos-specific 服务 have been moved from the 媒体播放器 domain to the sonos domain. For example, 媒体播放器.sonos_join has become sonos.join. 服务 sonos.set_sleep_timer, sonos.clear_sleep_timer, sonos.update_alarm and sonos.set_option now require the entity_id parameter and will not target all when it is missing. You can use all to target all. (@amelchio - #23670) (sonos docs)
  • Nmap - In Linux, and when running a setuid nmap, MAC addresses are reported with a leading zero in each byte. Under Mac OS X, when running the arp command, there is no leading zero. This makes it annoying to share config files between a Mac and Linux 设置. This change fixes this by forcing MAC addresses to be zero padded, "breaking" Mac detection on a Mac by aligning it to the convention on Linux (@mikeage - #23492) (nmap_tracker docs)

  • Frontend - This change converts the 前端 to do client-side modern JS detection. It is no longer possible to force the 前端 版本 that is shown to a browser by specifying a javascript_version option. Instead, we use feature detection to make sure that each browser receives the latest supported 版本. Because of feature detection, we no longer have ES5 specific index pages, which means the option extra_html_url_es5 no longer does anything. All usages of extra_html_url should be migrated to use Lovelace imports.(@balloob - #23618) (前端 docs)

  • Epson Workforce - This change adds the option to add photo black cartridge as a setting. It also corrects the spelling of "Inklevel" to "Ink level"(@ThaStealth - #23433) (epsonworkforce docs)

    Example 配置:

      - platform: epsonworkforce
        host: IP_ADDRESS
        monitored_conditions:
        - black
        - photoblack
        - yellow
        - magenta
        - cyan
        - clean
  • SNMP - The 配置 of the SNMP 设备 tracker was aligned with the other SNMP 开关 and the 传感器 配置. If you are using 认证 key and private key then change your 配置 to auth_key: and priv_key:. (@fabaff - #23678) (snmp docs)

  • Netatmo The netatmo_public 传感器 will be merged into the netatmo 集成. In the config platform: netatmo_public becomes platform: netatmo, everything else stays the same. (@cgtobi - #23531) (netatmo docs)

  • Sesame Smart Lock - The Sesame smart 门锁's 1.0 API uses a username/密码 pair to authenticate, and may be deprecated in the future. The V3 API uses an API key, so it will require 用户 to 更新 their HA config. (@zanglang - #23621) (sesame docs)

    Example 配置:

    lock:
      - platform: sesame
        api_key: !secret sesame_api_key
  • Z-Wave - Not a breaking change perse, just a note: Open Z-Wave has released 版本 1.6. The 配置 files are not compatible with Open Z-Wave 1.4, the 版本 that we are currently using. Don't copy config files over! We're waiting for Open Z-Wave Python bindings to 更新 before we can 更新 our code.

Beta Fixes

All changes