2022.8: You can fix it!

Home Assistant 核心 2022.8!🏖

虽然这段时间很多人都在享受来之不易的假期,但这似乎并没有让 Home Assistant 的开发和贡献放慢脚步。这次发布依旧内容满满!

我对新增的蓝牙支持感到超级兴奋,它为 Home Assistant 打开了一个全新的设备世界。 而我更期待的是新的修复功能和支持品牌功能,它们真的会带来巨大帮助 😃。

你知道这次发布最棒的地方是什么吗?这次宣布的所有主要功能和变化, 都在朝着我们当前的目标更进一步: 让整体体验更加顺畅。

享受这次发布吧!

../Frenck

错过了我们在 YouTube 上的发布派对直播?别担心!你可以直接在这里观看回放!

修复功能登场:你可以修好它!

一个我们希望你会喜欢的全新功能:修复(Repairs)!👷‍♂️

你可以在“设置”菜单中找到修复面板,它是 Home Assistant 用来通知你那些你可以(也应该)修复的问题的地方!

无论是系统当前已经检测到的问题,还是未来可能出现的问题, 例如由于使用了即将被移除的功能而导致的问题, 修复面板都会尽可能提示你。这些问题都是可操作且可由你解决的。

Screenshot showing the repairs 仪表盘, with some reported and repairable issues

这些可修复的问题会根据你的 Home Assistant 实例量身定制,内容可能各不相同。 点击某个问题后,你会看到更多说明,以及修复它所需执行的操作。

有时这需要你手动介入,例如更新 YAML 配置; 而有时它会在征求你的确认或让你做出选择之后,自动为你完成修复。

Screenshot showing details shown by a repairable issue, providing information on how to resolve it.

这次发布目前可以检测大约 25 类问题;另外,如果发现与你系统匹配的 Home Assistant Alert,它也会显示在修复面板中。

新的修复功能有很多使用场景,你可以期待它在不久的将来继续扩展, 支持检测更多类型的问题。

一流的蓝牙支持

今天,我们很自豪地宣布:Home Assistant 现在拥有了一流的蓝牙支持!🥇

我们新增了全新的[蓝牙集成],为 Home Assistant 提供了非常出色的蓝牙支持, 包括自动发现新设备,以及推送设备更新的能力。

实现设备支持的集成现在可以非常容易地构建在这些能力之上, 这意味着 Home Assistant 终于拥有了一个坚实基础, 可以解锁对大量蓝牙设备的支持!

The screenshot below shows that the 蓝牙 集成 is set up, and it discovered a new 设备. In this case, it discovered a Mi Flora Flower care 传感器 设备.

Screenshot showing the 集成 page, with an active 蓝牙 集成 and a Mi Flora plant 传感器 设备 being discovered

A good example is the SwitchBot 集成. It has been updated to support the new 蓝牙 集成, and because of that, is now a push-based 集成 providing a much more stable experience.

This 发布 adds five 集成 built on this: SensorPush, Govee, INKBIRD, Moat, and Xiaomi BLE. The latter also provides support for the reasonably popular Mi Flora plant 传感器.

Suppose you are using the Home Assistant OS on a 树莓派 3 or 4, or are using a supported 蓝牙 adapter. In that case, the 蓝牙 集成 will work out of the box for new installations and is automatically discovered on existing setups.

Shout out to @bdraco for creating this fantastic new addition, @Ernst79 for providing implementation feedback, and his excellent work on the ble_monitor custom 集成, which was an inspiration for the 蓝牙 集成. Lastly, a shout out to @Jc2k for implementing the Xiaomi BLE 集成 that greatly helped with testing. Thanks guys! 🙏

HomeKit 蓝牙支持

To continue the story on 蓝牙, the HomeKit Controller now also supports 蓝牙 and leverages the above-mentioned new 蓝牙 集成 🎉

In case you didn't know, the HomeKit Controller 集成 allows you to connect to HomeKit-capable 设备 and integrate them directly into Home Assistant. Allowing you to monitor and control these 设备, they support push-based updates and, above all: Are entirely local!

You don't need to own or have an Apple phone or computer to use this!

Supporting HomeKit 蓝牙-capable 设备 is fantastic! It makes a lot of 设备 out there compatible with Home Assistant that have no other way of integrating. There are lots of door 门锁, wall plugs, and other smart 设备 that you can use now.

Thanks for the work on this @Jc2k and @bdraco!

查找支持你设备的集成

Some 集成 work with multiple different brands. This can happen because, for example, those 设备 share a communication protocol, are white-labeled and sold under numerous brand names, or may carry different brand names depending on where in the world they are sold.

For example, if you have a Luxaflex 遮盖, you can actually use it using the Hunter Douglas PowerView 集成. And this is not the only example; there are many more! The problem is, how would one know that?

To make setting up things in Home Assistant easier, 集成 can now support multiple brands! So, if you now add an 集成 in Home Assistant and search for Luxaflex, you will find one!

Screenshot demonstrating the supported brands; it is now possible to search for a brand that is supported by another 集成

When you add a new 集成 that is supported by another 集成, Home Assistant will tell you which 集成 provides the support and guide you to set up that 集成.

更好的地图配色

Maps shown in Home Assistant have had a slight makeover and now use a new color palette. These new colors provide much greater contrast and significantly improve their readability.

Especially if you are using the dark mode in the user interface of Home Assistant, you will notice a big difference.

Screenshot demonstrating the new map colors in both 灯光 and dark mode

Thanks to @KTibow for getting the ball rolling on this one, @matthiasdebaat for providing UX feedback, and @bramkragten for making this change.

其他值得注意的变化

There is much more juice in this 发布; here are some of the other noteworthy changes this 发布:

  • "Z-Wave JS" is now shown and known as "Z-Wave" in Home Assistant.
  • The "System Health" setting menu item, has been moved to the "Repairs" 仪表盘, in the overflow menu (three dots in the top right).
  • In the background, a project has been started to standardize the names of 实体 and 设备. This work is in progress and will take a long time to complete, as each possible 实体 has to be adjusted. But it will streamline experiences!
  • You can now change the shown unit of measurement of number 实体 that provide a temperature. Thanks, @emontnemery!
  • @frenck updated the events 开发者工具 to use YAML instead of JSON and added syntax highlighting.
  • The LIFX 集成 got a significant overhaul, making it much more reliable. Thanks for the work on this in the past releases @bdraco and @Djelibeybi!
  • The UniFi Network now has 更新 实体, allowing you to 更新 the firmware of UniFi 设备 directly from Home Assistant. Great addition @J3173!
  • The Material Design Icons have been updated to v7.0.96, giving you 100 brand new icons to use 🤩 Thanks, @goyney!
  • SwitchBot now supports Hygrometers (thanks @murtas) and door/contact 传感器 (thanks @bdraco)!
  • @Noltari added 更新 实体 to the QNAP QSW 集成! Nice!
  • @frenck added multifactor authentication support for Verisure. So now you can add more security to your Verisure 报警 system.
  • HomeWizard Energy added support for Watermeters! Thanks, @DCSBL!
  • Yolink now supports garage doors, nice @matrixd2!
  • @simeon-simsoft for bidirectional Wallbox chargers, thank you!
  • You can now view your current network connection details in the Network 设置 screen. Thanks, @zsarnett!
  • Lutron Caséta now supports the Lutron RA3 Sunnata Keypads. Thanks, @danaues!
  • @mkmer added a battery level 传感器 to Aladdin Connect, thank you!
  • The Sensibo 集成 now supports the AirQ 传感器. Thanks, @gjohansson-ST!

新集成

We welcome the following new 集成 in this 发布:

现已可通过 UI 设置的集成

The following 集成 are now available via the Home Assistant UI:

发布 2022.8.1 - August 4

发布 2022.8.2 - August 7

发布 2022.8.3 - August 9

发布 2022.8.4 - August 12

发布 2022.8.5 - August 15

发布 2022.8.6 - August 17

发布 2022.8.7 - August 25

需要帮助吗?加入社区!

Home Assistant 拥有一个很棒的用户社区,大家都非常乐于互相帮助。 所以,欢迎加入我们!

我们非常活跃的 Discord 聊天服务器 是交流的绝佳去处, 也别忘了加入我们精彩的论坛

发现 bug 或问题了吗?请在我们的 问题追踪器 中提交反馈,帮助我们修复它!或者查看帮助页面, 了解更多可获取帮助的地方。

你更喜欢邮件吗?欢迎订阅我们的 Building the Open Home Newsletter, 把最新功能、社区动态以及更多关于构建开放家庭的消息, 直接发送到你的收件箱。

向后不兼容的变更

Below is a listing of the breaking change for this 发布, per subject or 集成. Click on one of those to read more about the breaking change for that specific item.

Each AC will have its own 设备, different from the one previously 创建. Any 自动化 or 脚本 that target the 设备 will need to be corrected.

(@Bre77 - #75395) (文档)


The previsouly deprecated 服务 advantage_air.set_myzone has been removed. Use the available MyZone select 实体 instead.

(@Bre77 - #75160) (文档)

Calendar description 属性 are no longer written into the recorder database.

(@allenporter - #75375) (文档)

The single HERE Travel Time 传感器 with 属性 is split up into separate 传感器 for Duration, Duration in Traffic, Route, Distance, Origin, Destination.

If you used the 实体 属性 in your 自动化 or 脚本, you will need to adapt them to this change.

(@eifinger - #72405) (文档)

The ecobee 风扇 mode number 实体 has been removed as HomeKit Controller now implements 风扇 mode on the 温控 实体 which replaces this functionality.

(@bdraco - #74440) (文档)

Each LIFX 设备 now has its own 集成 entry. The existing entry will be migrated to separate entries automatically as each 设备 is discovered, and will automatically be removed once all 设备 are found.

Migrating to an 集成 entry per 设备 allows Home Assistant to take care of discovery IP updates and retries, dramatically improving the 集成's reliability.

LIFX can now be configured manually by IP address. DHCP, HomeKit, and native discovery are supported for updating IP addresses to ensure we never lose track of a 设备.

Advanced YAML 配置 is deprecated and will be removed in a future 发布. Advanced YAML 配置 is no longer necessary as the integrations now fully utilizes Network 配置, and can also function without working discovery.

(@bdraco - #74316) (文档)

Timestamps in the Home Assistant 日志 file now include millisecond-level resolution.

脚本 or external 日志 system that rely on this will need to be updated to handle the extra decimal places.

(@puddly - #74518) (文档)

In the latest Material Design Icons 更新, several icons have been renamed or removed. Removed and renamed icons will continue to work for the next two releases.

Please make sure you 更新 any use of the following MDI icons:

Removed:

  • mdi:android-messages - Use mdi:message-text instead.
  • mdi:book-variant-multiple - Use mdi:bookmark-box-multiple instead.
  • mdi:desktop-mac - Use mdi:monitor instead.
  • mdi:desktop-mac-dashboard - Use mdi:monitor-dashboard instead.
  • mdi:discord
  • mdi:google-home
  • tablet-android - Use mdi:tablet instead.

Renamed:

  • mdi:diving-scuba to mdi:diving-scuba-mask
  • mdi:email-send to mdi:email-arrow-right
  • mdi:email-send-outline to mdi:email-arrow-right-outline
  • mdi:email-receive to mdi:email-arrow-left
  • mdi:email-receive-outline to mdi:email-arrow-left-outline
  • mdi:format-textdirection-r-to-l to mdi:format-pilcrow-arrow-left
  • mdi:format-textdirection-l-to-r to mdi:format-pilcrow-arrow-right
  • mdi:globe-light to mdi:globe-light-outline
  • mdi:google-controller to mdi:controller
  • mdi:google-controller-off to mdi:controller-off
  • mdi:lecturn to mdi:lectern
  • mdi:mosque to mdi:mosque-outline
  • mdi:receipt to mdi:receipt-text
  • mdi:receipt-outline to mdi:receipt-text-outline
  • mdi:silo to mdi:silo-outline
  • mdi:text-to-speech to mdi:microphone-message
  • mdi:text-to-speech-off to mdi:microphone-message-off
  • mdi:timeline-help to mdi:timeline-question
  • mdi:timeline-help-outline to mdi:timeline-question-outline
  • mdi:vector-point to mdi:vector-point-select

(@goyney - #13175)

The previously deprecated sonos.join and sonos.unjoin 服务 have been removed in favor of the standard media_player.join and media_player.unjoin 服务.

(@jjlawren - #74476) (文档)

The 蓝牙 integrations must be enabled before switchbot can be used. 蓝牙 is automatically discovered in most cases, but can be manually added from the integrations page if it is not.

The Time between updates (seconds) and How long to scan for advertisement data options have been removed as they are no longer needed since the 集成 is now push instead of polling.

(@bdraco - #75645) (文档)

Carbon Monoxide 二元sensor have changed their 设备 class from gas to co.

(@EnochPrime - #75649) (文档)

If you are a custom 集成 developer and want to learn about breaking changes and new features available for your 集成: Be sure to follow our developer 博客. The following are the most notable for this 发布:

告别以下内容

The following 集成 are also no longer available as of this 发布:

  • XBee
  • SoChain
  • Google Play Music Desktop Player (GPMDP)

All three were previously disabled due to incompatibilities and have now been removed.

所有变更

Of course, there is a lot more in this 发布. You can find a list of all changes made here: Full changelog for Home Assistant 核心 2022.8