2021.1:新年快乐!

我们告别了 2020,那是疯狂又奇怪的一年。人们会记住 2020,很大一部分原因是那场糟糕的疫情,也希望它能在 2021 年得到控制。

我们祝愿你、你的家人、朋友,以及身边的每一个人,在 2021 年都能平安、健康、幸福,并收获无数祝福!

新年快乐!

让我们用 Home Assistant Core 2021.1 开启新的一年!

不过先别太激动。2020.12 发布内容满满,而我们大多数人也在假期里陪伴挚爱亲友。除此之外,这次并不是一个完整的发布周期,时间比平时更短。这是因为上一个发布周期为了大会而延后,同时我们也开始采用新的发布节奏,也就是按月发布。

因此,这次发布会以比较缓慢的步调开启 2021,是一次轻量版发布。没有重磅新功能,也没有新的集成,主要是修复、调整与优化。

另外,我很好奇,你的智能家居新年愿望是什么?欢迎在评论区告诉我!

祝你享受这次发布!

../Frenck

纪念 Villhellm

我们怀着悲痛的心情宣布,Discord 服务器中的一位 Jedi、长期活跃于 Home Assistant 社区的 @Villhellm(William),在 2020 年圣诞节前夕离世,年仅 27 岁。

多年来,他一直活跃在论坛,以及许多与家庭自动化相关的 Discord 服务器中,比如 Dr. Zzs、DigiblurDIY 等。

我们想借此时刻感谢他为 Home Assistant 社区付出的努力与支持,愿他安息。

他的朋友们已经发起了一个 GoFundMe,用来帮助他留下的妻子与家人。现在,我们也有机会帮助他的家人度过这段艰难时期。

感谢你的支持!

Home Assistant 大会视频

几周前,2020 年 Home Assistant 大会顺利举行。我们收到了很多消息与请求,希望能开放大会上的所有演讲供大家观看。

我们已经开始将这些内容陆续上传到我们的 YouTube 频道。如果你还没订阅,现在就去订阅吧,这样每当新的演讲视频上线时,你都会收到通知。

大会的所有视频也会统一加入 YouTube 上的 Home Assistant Conference 2020 播放列表

其他值得注意的变化

这次发布虽然没有大型新功能,但仍然有不少值得一提的调整与改进。

  • @spacegaier removed the "No 区域" from the 设备 tables, reducing the clutter in those lists.
  • Since 2020.12, 实体 can be assigned to 区域. Thanks to @elupus, these 区域 are now sent to Google Assistant as 房间 hints.
  • Rachio now has pause and resume 服务, thanks to @brg468.
  • A bunch of new 传感器 are added to Météo-France. Additional 天气 条件, UV, and wind gust, done by @mbo18!
  • @alengwenus has been refactoring the LCN 集成. While it does not bring new things to the surface, it does improve in quality and prepares for future improvements. Keep up the good work!
  • Homeatic IP Cloud now supports HmIP-HDM1 and HmIPW-DRD3, thanks to contributions by @SukramJ.
  • Accuweather now has Wind information, thanks @abmantis!
  • ReCollect Waste now has 集成 options, starting by giving the option to display pickup types by their human-friendly names. Thanks, @bachya!
  • @postlund rewrote the Apple TV 集成 for 2020.12, but he is not stopping! Besides some fixes, he extended the 设备 information and added some 属性.
  • The SQL 传感器 now supports MSSQL, thanks to @dgomes!
  • Support for 温控 设备 with a temperature range, has been added to the HomeKit controller 集成. Thanks, @thevoltagesource!
  • The MQTT 集成 discovery feature, now has support for 设备 trackers, which has been added by @PeteBa.
  • Sending animations using the Telegram Bot is now possible with the new animation 服务 added by @tofuSCHNITZEL.
  • If you have a Xiaomi Miio 吸尘器 cleaner with a mop function, this 发布 added status for the water box and the mop itself. Thanks, @JJdeVries!
  • WeMo now supports the outdoor plug, thanks @mattbilodeau!
  • The Music Player Daemon 集成 now shows album art in the media player. Looks good @mweinelt!
  • Amazon Polly has a new voice: Olivia. A female, Australian and neural voice. Thanks @aque0us!
  • Google Cloud TTS now has support for SSML (Speech Synthesis Markup Language). Thanks, @lufton!

新集成

这次发布没有引入新的集成。

新平台

以下集成新增了平台支持:

现已支持通过 UI 设置的集成

以下集成现已可通过 Home Assistant UI 进行设置:

发布 2021.1.1 - January 9

发布 2021.1.2 - January 14

发布 2021.1.3 - January 15

发布 2021.1.4 - January 16

发布 2021.1.5 - January 23

如果你需要帮助……

如果你需要帮助,欢迎前往我们非常活跃的 论坛,或加入我们的 Discord 聊天

如果这次发布带来了问题,请到我们的 问题追踪器 提交反馈,并确保完整填写 issue 模板中的所有字段。

向后不兼容的变更

下面列出了本次发布中的破坏性变更,并按主题或集成分类。 点击其中任一项,即可阅读该项目对应的破坏性变更详情。

Météo-France 集成

The unit of measurement of the UV 传感器 was missing and has been added. You may have to adapt your 配置 accordingly, if you were depending on the unit of this 传感器 in any 自动化, 脚本 or 3rd party data loggers.

(@mbo18 - #43992) (meteo_france docs)

Glances 集成

Previously, the Glances 集成 was presuming that all 传感器 were temperatures. Now, we can distinguish temperatures, 风扇 speeds and battery charges.

In consequence, those 实体 have new 实体 IDs, so you should 更新 your 配置 in the UI or in your YAML files.

Previously, they were all suffixed by _temp. Now they are suffixed by _temperature, _fan_speed and _charge.

Examples:

  • sensor.glances_core_0_temp => sensor.glances_core_0_temperature
  • sensor.glances_battery_temp => sensor.glances_battery_charge
  • sensor.glances_thinkpad_1_temp => sensor.glances_thinkpad_1_fan_speed

(@guix77 - #43500) (glances docs)

Neato 集成

Neato now uses a new 认证 method: OAuth2.

If you are an existing Neato 用户, you will need to 更新 your YAML 配置, as per the updated Neato 文档. The 集成 will then automatically be migrated.

Vorwerk support is dropped from the neato 集成. The parent library still supports Vorwerk however, the 认证 is completely different and therefore will require a separate 集成 创建.

(@Santobert - #44031) (neato docs)

Tado 集成

The Tado Bridge 传感器 has been removed and replaced by its corresponding 设备 传感器.

(@Noltari - #44475) (tado docs)

OpenTherm Gateway 集成

This 发布 breaks binary_sensor and sensor 实体 of the opentherm_gw 集成. More specifically, all existing binary_sensor and sensor 实体 are recreated with a different entity_id, unique_id and friendly name.

Some 实体 are recreated once, others will be recreated twice for different data sources (boiler and thermostat). All 实体 that are recreated are disabled by default.

The old sensor and binary_sensor 实体 will 日志 a deprecation 警告 and change behavior slightly if they are enabled. They will be automatically removed if they are disabled. Behavioral changes of the old 实体 may include a delayed 更新 and a possible change of data source (boiler vs. thermostat) which may only become apparent when an override is active on the OpenTherm Gateway.

The climate 实体 is not affected.

The OpenTherm Gateway sits between the thermostat and the boiler and thus deals with 2 streams of information. Before this 发布, the status info we received contained overlapping information from both streams of information, which led to issues when the gateway was overriding some values.

As of this 发布, the status is split up in multiple parts to reflect this. Each part contains the status of its respective information stream. With this change, we create 传感器 实体 for each stream where necessary.

(@mvn23 - #43352) (opentherm_gw docs)

BMW Connected Drive 集成

BMW Connected Drive has been migrated for 配置 via the UI.

Your old entries from configuration.yaml are automatically imported once for initial 设置.

It is recommended to rename the device_tracker of your car(s) in config/known_devices.yaml (you can e.g., add _old to the 实体 name) before updating, otherwise a second 设备 tracker 实体 (ending with _2) per car will be 创建.

After updating, the 实体 can be removed from known_devices as that will no longer be used.

(@rikroe - #39585) (bmw_connected_drive docs)

告别以下内容

以下集成已被移除:

Avri has changed their API and it seems not possible to use the new one.

所有变更

点击查看所有变更!