2024.12:场景先看,2025 再见!🎄
Home Assistant 2024.12!🎄
假期将至,也到了今年最后一次发布的时候了!🎉
2024 对 Home Assistant 来说是疯狂的一年。不仅有像[拖放式仪表盘]和标签这类[组织能力]这样的功能更新,还有我们在语音方面数不清的改进。同时,这一年也见证了[开放家庭基金会]的成立,以及我们可爱社区的持续成长,因为我们已经成为 [GitHub 上排名第一的开源项目]!❤️
不过,这一年还没有结束!这个月,我们想听听你所有 “What the heck?!” 的 Home Assistant 时刻。欢迎告诉我们那些小烦恼、Bug、想法,或者建议。你可以先阅读 [WTH 公告博客],也可以直接[在 WTH 论坛中加入讨论]!
说实话,今年最大的公告其实还没到来……🤫 我很确定这和语音硬件有关。😉 所以请务必不要错过[12 月 19 日的直播]!📺 你一定不会失望!🎁
在你开始浏览本次发布的全部内容之前,我只想在这一年结束前,向我们社区中的每一个人说一声大大的感谢,其中当然也包括你!
感谢你使用 Home Assistant! ❤️
节日快乐!也是 2024 年最后一次:祝你享受这次发布!
../Frenck
改进场景编辑体验
场景 是在家中营造氛围的好方法。它可以捕捉设备在某个时刻的状态,并在之后通过仪表盘按钮、自动化,甚至语音命令把它恢复回来。
在 Home Assistant 中编辑场景时,一个常见痛点是:只要你打开场景编辑器,场景就会立刻被激活并应用。如果你深夜正在折腾配置,却不小心触发了一个会点亮全屋灯光的场景,那体验显然不算太好。😅
@karwosts 和 @marcinbauer85 出手相救!🦸♂️ 从这个版本开始,场景编辑器拥有两种模式:查看模式 和 编辑模式。
“查看模式”将成为场景默认打开的方式,它会展示当前场景的配置,但不会真正应用场景。随后你可以切换到“编辑模式”;只有在那时场景才会被激活,这样你就可以调整实际状态,并在满意后重新拍摄快照。
此外,如果你更喜欢 YAML,也可以在场景编辑器右上角的三点溢出菜单
语音
距离[我们开启这段旅程]、打造属于自己的开源语音助手,已经快两年了。我们的目标一直很明确:让每个人都能用自己的语言来控制 Home Assistant。
今天,我们离终点线又更近了一步。不只是因为这次发布中包含的新功能,你可能也已经听说,我们的语音硬件马上就要来了……
在圣诞老人 🎅 和他的小精灵帮助下,我们准备了一场产品发布 YouTube 直播,将于 2024 年 12 月 19 日 20:00 GMT / 12:00 PT / 21:00 CET 举行!
是不是很好奇?一定记得[加入直播],点个赞 👍,订阅我们的频道,再打开小铃铛 🔔,这样我们上线时你就能收到提醒!这场你真的不想错过。
不过在那之前,我们先来看看这次发布中的语音功能!
让你的语音助手回退到基于 LLM 的代理
[就在 6 个月前],我们打通了默认对话代理与 [LLM] 这个精彩(也有点可怕)的世界之间的桥梁。我们允许你进行实验,让基于 LLM 的对话代理来控制你的家,而不是完全依赖内置句子。
这是一个很有意思的第一步。LLM 通常更擅长理解自然语言,也比我们的默认代理更“懂世界”。不过,它们往往更慢,也可能更贵。现实一点说:即便那些演示很酷,我们在家里说出的 90% 命令其实都很简单:“把这个打开” 或 “把那个关掉”。
而现在,我们终于允许用户把这两个世界混合起来。从这个版本开始,你可以先把语音助手指向我们快速、由社区驱动的对话代理,只有在没有匹配结果时,才回退到基于 LLM 的代理。
这让你几乎不用承担缺点,就能结合两个世界的优点。已知命令会在本地以极快速度处理,而 LLM 的能力只会用于 Home Assistant 本身无法原生理解的复杂查询。
语言负责人正在加快脚步
这已经不是什么秘密了:我们的语音硬件会在 2024 年 12 月 19 日正式揭晓。各语言负责人已经提前拿到了这台设备,并且正全力以赴地打磨各自语言的支持体验。
过去一个月里,对我们的[意图仓库](也就是保存受支持句子的地方)的贡献数量大幅增长,我们真的非常感谢。越来越多的语言已经变得可用,甚至趋于完整!你可以在这里 关注进度。
我们就不一一列举了,但请放心,很可能已经有人正在努力,让你的母语也能顺畅可用,让你在家里自然地使用它。
更快的语音体验
我们的默认对话代理从零开始构建,就是为了能在廉价硬件上也以极快速度把一句话匹配到底层意图。
但随着一次又一次发布,我们不断为 Home Assistant 增加更多用例和句子,句子匹配逻辑也越来越慢。在某些语言中,一句不匹配的输入甚至可能要处理超过 15 秒!这次发布在这个匹配逻辑上投入了很多精力;我们彻底重新设计了句子匹配方式。除此之外,各语言负责人也花时间降低了句子的复杂度。有些语言的可能组合数量减少了 99%!
结果不言而喻:
修订后的集成质量量表
集成质量量表(IQS)是我们对项目的“质量”进行分类的一种方式。 集成。它让用户了解对集成的期望。 您可能已经注意到我们列出的 IQS 指标 [每个集成文档页面]。
该量表最早于 2018 年推出,当时更偏向集成的技术实现和代码层面。多年来,它并没有真正随着 Home Assistant 的发展以及社区整体期望一起演进。现在是时候改变了!
在过去的几个月里,我们与社区合作进行了修订和 提高规模。不仅涉及我们的社区开发人员,还涉及 文档作者、用户体验设计师以及任何感兴趣的人 在社区中。
因此,新的集成质量量表不再只关注代码,而是更多地关注整体用户体验。它现在能更全面地反映一个集成的状态,我们也希望这能帮助大家在家中做出更好的选择。
现在我们总共有 4 个评级层级:
我们还有四个额外的(未缩放的)特殊级别:
- ❓ 无分数: 对于尚未根据新等级评分的集成。
- 🏠 内部: 用于 Home Assistant 自身会使用的集成,比如自动化引擎。
- 💾 旧版: 用于无法通过 UI 设置的旧集成。
- 📦 自定义: 用于自定义集成,因为我们无法对这些集成进行评分。
您可以阅读有关这些层的所有信息、它们的设计目的以及 我们专门总结了他们的特点 [集成质量量表页面]。
我们真诚地希望这个新秤不仅能帮助我们的用户,也能帮助我们 社区开发人员通过提供清晰的路径来了解预期内容 提高他们的集成度。为了帮助解决这个问题,我们现在有 [广泛记录了我们的每个级别的每条规则和要求 开发者文档]。
集成
感谢我们的社区持续跟进新集成以及现有集成的改进!你们都太棒了。🥰
新集成
我们欢迎本版本中的以下新集成:
- Acaia,由 @zweckj 添加 为 Home Assistant 添加对 [Acaia 咖啡秤] 的支持。
- Music Assistant,由 @jozefKruszynski 添加 Music Assistant 的官方集成正在进入 Home Assistant!🎉
- NASweb,由 @nasWebio 添加 为 Home Assistant 带来 NASweb 自动化系统支持。
- Nord Pool,由 @gjohansson-ST 添加 将 Nord Pool 能源市场的最新电价作为传感器引入 Home Assistant。
- Sky Remote,由 @dunnmj 添加 让你可以通过自动化或在 Home Assistant 仪表盘中控制 Sky 机顶盒。
对现有集成的值得注意的改进
不只是新增了集成,现有集成也在持续改进。下面是一些值得注意的变化:
- [UniFi Protect 集成] 现在支持指纹和 NFC 事件。你甚至可以针对特定指纹或 NFC 标签编写自动化!太棒了,@RaHehl!
- TP-Link 集成 现在支持 H200 集线器,并为 Tapo 设备增加了更多能耗监测传感器。它还新增了像运动传感器开关、恒温器童锁开关,以及最近一次漏水告警时间戳等实体。感谢 @sdb9696、@rytilahti 和 @ryenitcher!
- @starKillerOG 为 Reolink 集成 添加了码率、帧率和车辆提示音的选择器实体;此外,还为 PTZ 摄像头加入了倾斜位置传感器。谢谢!
- @fwestenberg 更新了 Stookwijzer 集成,加入了一些新传感器,正好赶上冬季。很赞!
- Habitica 集成 现在提供任务处理、习惯评分和奖励相关动作,还增加了待办事项和每日提醒日历。很棒,@tr4nt0r!
- [eQ-3 Bluetooth Smart 集成] 现在提供多个实用开关和传感器,比如离家模式、增压和电池状态。感谢 @EuleMitKeule!
- @YogevBokobza 为 Switcher 集成 添加了对 Switcher Lights 的支持。谢谢!
[UniFi Protect 集成]: /integrations/unifiprotect## 其他值得注意的变化
本次发布还有更多改进;这是其他一些 此发布的值得注意的更改:
- @jpbede在摄像头实体信息中添加了下载快照按钮 对话框。超级好!谢谢!
- UI 现在使用计时器格式(如 03:26:00)以自然方式显示持续时间 语言(3小时26分钟)。谢谢@piitaya!
- 添加了对新测量单位的支持:
- 面积大小的单位(以及公制和美制之间的转换)。 谢谢@mikey0000!
- @jschlyter 添加了对 MW、GW、TW、GWh 和 TWh 的支持。好的!
- 添加了 µV 作为电势单位。谢谢@tr4nt0r!
- 最后,添加了 mL/s 作为体积流量单位。谢谢@zweckj!
- 如果您通过我们的 UI 使用 YAML 编辑自动化,并且犯了一个错误…… 您现在将在 UI 中实际看到解析错误消息。这真是 有帮助!谢谢,@karwosts!
测量单位的翻译
几年来,我们一直在努力,让每一个小细节 通过提供翻译,每个人都可以使用 Home Assistant 对于系统的每个部分。 🌐
然而,我们仍然有一些边缘情况,我们无法提供
一切的翻译。这些边缘情况之一是单位
测量。 📏尽管在大多数情况下单位不需要翻译(例如 °C 或 kWh),但许多单位
家庭中的传感器可能使用特定的非标准化单位。例如,
一种测量家中“人数”或告诉您人数的传感器
您的收藏中有多少部“电影”。
因此,假设您现在有一个带有自定义测量单位的传感器,例如 您收藏的“电影”数量。在这种情况下,集成现在可以 为这些单位提供翻译。 🎉
一些集成已经为其单元添加了翻译,包括 Jellyfin、[Lyrion 音乐服务器]、[传输]、Pi-hole、QBitTorrent、 NextDNS、Mastodon 和 Mealie!
我们已升级到 Python 3.13

此版本附带 Python 3.13 打包! 🐍
想知道这意味着什么? Python 是为 Home 提供支持的编程语言 场景背后的助手。
为什么这很重要?每个新的 Python 版本都会带来我们可以做到的改进 利用——更好的性能、更少的错误和更流畅的开发人员体验 对于我们的贡献者。另外,Python 3.13 还提高了 Home Assistant 的速度 总的来说——还有什么理由不爱呢? 🚀
运行 Home Assistant 操作系统还是使用 Home Assistant 容器?别担心,我们都帮你处理好了。 升级到 Python 3.13 会自动完成。像往常一样更新 Home Assistant,然后就可以开始了。
容易,对吧? 😎
补丁发布我们还将在 12 月发布 Home Assistant 2024.12 的补丁版本。
这些补丁版本仅包含错误修复。我们的目标是发布补丁 每周五发布。
2024年12月1日 - 12月6日
-
将 elmax-api 提升至 0.0.6.3 ([@albertogeniola] - [#131876])
-
修复 CachingStaticResource 中已弃用的对 mimetypes.guess_type 的调用 ([@bdraco] - [#132299])
-
将 tesla-fleet-api 升级到 0.8.5 ([@Bre77] - [#132339])
-
将缺失的 UnitOfPower 添加到传感器 ([@robinostlund] - [#132352])
-
从 utility_meter 中删除对 croniter 的引用([@dgomes] - [#132364])
-
将 upb-lib 提升至 0.5.9 ([@gwww] - [#132411])
-
将 pydeako 升级到 0.6.0 ([@Balake] - [#132432])
-
将 aiohttp 升级到 3.11.10 ([@bdraco] - [#132441])
-
将 aioesphomeapi 提升至 28.0.0 ([@bdraco] - [#132447])
-
为 getpass.getuser() 更新 python3.13 的异常处理([@allenporter] - [#132449])
-
将 hass-nabucasa 从 0.85.0 提升到 0.86.0 ([@ludeeus] - [#132456])
-
修复 Nordpool 没有上一个或下一个价格的问题 (@gjohansson-ST - [#132457])
-
将 deebot-client 升级到 9.2.0 (@edenhaus - [#132467])
-
指向库中未配备设备的 Ecovacs 问题 (@edenhaus - [#132470])
-
将 tplink python-kasa 依赖关系提升至 0.8.1 (@sdb9696 - [#132472])
-
将 samsungtvws 升级到 2.7.2 ([@epenet] - [#132474])
-
前端更新至 20241127.5 ([@bramkragten] - [#132475])
-
将前端更新至 20241127.6 ([@bramkragten] - [#132494])
-
修复谷歌任务到期日期时区处理([@allenporter] - [#132498])[#131876]: https://github.com/home-assistant/核心/pull/131876 [#132195]: https://github.com/home-assistant/核心/pull/132195 [#132299]: https://github.com/home-assistant/核心/pull/132299 [#132339]: https://github.com/home-assistant/核心/pull/132339 [#132352]: https://github.com/home-assistant/核心/pull/132352 [#132364]: https://github.com/home-assistant/核心/pull/132364 [#132411]: https://github.com/home-assistant/核心/pull/132411 [#132432]: https://github.com/home-assistant/核心/pull/132432 [#132441]: https://github.com/home-assistant/核心/pull/132441 [#132447]: https://github.com/home-assistant/核心/pull/132447 [#132449]: https://github.com/home-assistant/核心/pull/132449 [#132456]: https://github.com/home-assistant/核心/pull/132456 [#132457]: https://github.com/home-assistant/核心/pull/132457 [#132467]: https://github.com/home-assistant/核心/pull/132467 [#132470]: https://github.com/home-assistant/核心/pull/132470 [#132472]: https://github.com/home-assistant/核心/pull/132472 [#132474]: https://github.com/home-assistant/核心/pull/132474 [#132475]: https://github.com/home-assistant/核心/pull/132475 [#132494]: https://github.com/home-assistant/核心/pull/132494 [#132498]: https://github.com/home-assistant/核心/pull/132498 [@Balake]: https://github.com/Balake [@Bre77]: https://github.com/Bre77 [@albertogeniola]: https://github.com/albertogeniola [@allenporter]: https://github.com/allenporter [@bdraco]: https://github.com/bdraco [@bramkragten]: https://github.com/bramkragten [@dgomes]: https://github.com/dgomes @edenhaus: https://github.com/edenhaus [@epenet]: https://github.com/epenet @frenck: https://github.com/frenck @gjohansson-ST: https://github.com/gjohansson-ST [@gwww]: https://github.com/gwww [@ludeeus]: https://github.com/ludeeus [@robinostlund]: https://github.com/robinostlund @sdb9696: https://github.com/sdb9696### 2024年12月2日 - 12月10日
-
在 myUplink 模型 SMO20 上启用额外的实体([@astrandb] - [#131688])
-
将 pydrawise 升级到 2024.12.0 ([@dknowles2] - [#132015])
-
修复 AC 的 API 更改不支持 SwitchBot Cloud 中的浮动 ([@SeraphicRav] - [#132231])
-
将 Pyrisco 更新到 0.6.5 ([@agmckaybro] - [#132493])
-
修复 PyTado 依赖项 ([@erwindouna] - [#132510])
-
将 pycups 升级到 2.0.4 ([@bdraco] - [#132514])
-
将 debugpy 更新到 1.8.8 (@frenck - [#132519])
-
将 Total_connect_client 提升至 2023.12 ([@austinmroczek] - [#132531])
-
将 aiounifi 升级到 v81 以修复 python 3.13 上的分区 cookie ([@Kane610] - [#132540])
-
将 twentemilieu 更新至 2.2.0 (@frenck - [#132554])
-
将 yalexs-ble 升级到 2.5.2 ([@bdraco] - [#132560])
-
插件式升级至 v1.6.1 (@bouwew - [#131950])
-
插件式升级到 v1.6.2 并进行调整 (@bouwew - [#132608])
-
修复 Husqvarna Automower 中的配置流程 ([@Thomas55555] - [#132615])
-
增加 ZHA 依赖项 ([@puddly] - [#132630])
-
插件式升级至 v1.6.3 (@bouwew - [#132673])
-
将 yt-dlp 提升至 2024.12.06 (@joostlek - [#132684])
-
恢复“将 pyezviz 更改为 0.2.2.3”([@srescio] - [#132715])
-
将意图提升至 2024.12.9 ([@synesthesiam] - [#132726])
-
将前端更新至 20241127.7 ([@bramkragten] - [#132729])
-
将 reolink-aio 提升至 0.11.5 (@starkillerOG - [#132757])
-
在正确的位置捕获 Hydrawise 授权错误 ([@dknowles2] - [#132727])
-
将应用程序标识符传递给 Hydrawise API ([@dknowles2] - [#132779])
-
将 deebot-client 升级到 9.3.0 (@edenhaus - [#132834])
-
将 aioacaia 提升至 0.1.11 (@zweckj - [#132838])[#131688]: https://github.com/home-assistant/核心/pull/131688 [#131950]: https://github.com/home-assistant/核心/pull/131950 [#132015]: https://github.com/home-assistant/核心/pull/132015 [#132195]: https://github.com/home-assistant/核心/pull/132195 [#132231]: https://github.com/home-assistant/核心/pull/132231 [#132493]: https://github.com/home-assistant/核心/pull/132493 [#132509]: https://github.com/home-assistant/核心/pull/132509 [#132510]: https://github.com/home-assistant/核心/pull/132510 [#132514]: https://github.com/home-assistant/核心/pull/132514 [#132519]: https://github.com/home-assistant/核心/pull/132519 [#132531]: https://github.com/home-assistant/核心/pull/132531 [#132540]: https://github.com/home-assistant/核心/pull/132540 [#132554]: https://github.com/home-assistant/核心/pull/132554 [#132560]: https://github.com/home-assistant/核心/pull/132560 [#132608]: https://github.com/home-assistant/核心/pull/132608 [#132615]: https://github.com/home-assistant/核心/pull/132615 [#132630]: https://github.com/home-assistant/核心/pull/132630 [#132673]: https://github.com/home-assistant/核心/pull/132673 [#132684]: https://github.com/home-assistant/核心/pull/132684 [#132715]: https://github.com/home-assistant/核心/pull/132715 [#132726]: https://github.com/home-assistant/核心/pull/132726 [#132727]: https://github.com/home-assistant/核心/pull/132727 [#132729]: https://github.com/home-assistant/核心/pull/132729 [#132757]: https://github.com/home-assistant/核心/pull/132757 [#132779]: https://github.com/home-assistant/核心/pull/132779 [#132834]: https://github.com/home-assistant/核心/pull/132834 [#132838]: https://github.com/home-assistant/核心/pull/132838 [@Kane610]: https://github.com/Kane610 [@SeraphicRav]: https://github.com/SeraphicRav [@Thomas55555]: https://github.com/Thomas55555 [@agmckaybro]: https://github.com/agmckaybro [@astrandb]: https://github.com/astrandb [@austinmroczek]: https://github.com/austinmroczek [@bdraco]: https://github.com/bdraco @bouwew: https://github.com/bouwew [@bramkragten]: https://github.com/bramkragten [@dknowles2]: https://github.com/dknowles2 @edenhaus: https://github.com/edenhaus [@erwindouna]: https://github.com/erwindouna @frenck: https://github.com/frenck @joostlek: https://github.com/joostlek [@puddly]: https://github.com/puddly [@srescio]: https://github.com/srescio @starkillerOG: https://github.com/starkillerOG [@synesthesiam]: https://github.com/synesthesiam @zweckj: https://github.com/zweckj### 2024年12月3日 - 12月13日
-
将 python-linkplay 升级到 v0.1.1 ([@silamon] - [#132091])
-
将 pydaikin 升级到 2.13.8 ([@weltall] - [#132759])
-
修复管道对话语言([@synesthesiam] - [#132896])
-
修复 AndroidTV 断开连接时的日志记录 ([@chemelli74] - [#132919])
-
保护 Vodafone 站针对不良数据进行更新 ([@chemelli74] - [#132921])
-
将 led-ble 升级到 1.1.1 ([@bdraco] - [#132977])
-
将 VAD 超时警告更改为调试 ([@synesthesiam] - [#132987])
-
修复云导入路径的 LaMetric 配置流程 (@frenck - [#133039])
-
将前端更新至 20241127.8 ([@bramkragten] - [#133066])
-
将 pysuezV2 升级到 1.3.5 ([@jb101010-2] - [#133076])
-
修复了使用 evohome 的新主机名的错误 ([@zxdavb] - [#133085])
-
将 py-aosmith 升级到 1.0.12 ([@bdr99] - [#133100])
-
将 deebot-client 升级到 9.4.0 (@edenhaus - [#133114])
-
将 aiowithings 升级到 3.1.4 (@joostlek - [#133117])[#132091]: https://github.com/home-assistant/核心/pull/132091 [#132195]: https://github.com/home-assistant/核心/pull/132195 [#132509]: https://github.com/home-assistant/核心/pull/132509 [#132759]: https://github.com/home-assistant/核心/pull/132759 [#132846]: https://github.com/home-assistant/核心/pull/132846 [#132896]: https://github.com/home-assistant/核心/pull/132896 [#132919]: https://github.com/home-assistant/核心/pull/132919 [#132921]: https://github.com/home-assistant/核心/pull/132921 [#132977]: https://github.com/home-assistant/核心/pull/132977 [#132987]: https://github.com/home-assistant/核心/pull/132987 [#133039]: https://github.com/home-assistant/核心/pull/133039 [#133066]: https://github.com/home-assistant/核心/pull/133066 [#133076]: https://github.com/home-assistant/核心/pull/133076 [#133085]: https://github.com/home-assistant/核心/pull/133085 [#133100]: https://github.com/home-assistant/核心/pull/133100 [#133114]: https://github.com/home-assistant/核心/pull/133114 [#133117]: https://github.com/home-assistant/核心/pull/133117 [@bdr99]: https://github.com/bdr99 [@bdraco]: https://github.com/bdraco [@bramkragten]: https://github.com/bramkragten [@chemelli74]: https://github.com/chemelli74 @edenhaus: https://github.com/edenhaus @frenck: https://github.com/frenck [@jb101010-2]: https://github.com/jb101010-2 @joostlek: https://github.com/joostlek [@silamon]: https://github.com/silamon [@synesthesiam]: https://github.com/synesthesiam [@weltall]: https://github.com/weltall [@zxdavb]: https://github.com/zxdavb
2024年12月4日 - 12月17日- 简化记录器 RecorderRunsManager ([@emontnemery] - [#131785])
- 修复 fibaro 温控 HVAC 模式 ([@rappenze] - [#132508])
- 将 yt-dlp 更新至 2024.12.13 (@joostlek - [#133129])
- 修复 python_script 中的 strptime (@gjohansson-ST - [#133159])
- 将 yalexs-ble 升级到 2.5.4 ([@bdraco] - [#133172])
- 将 starlink-grpc-Core 升级到 1.2.1 以修复丢失的 ping ([@MrConorAE] - [#133183])
- 将 aiolifx 升级到 1.1.2 并添加新的 HomeKit 产品前缀 ([@Djelibeybi] - [#133191])
- 恢复“简化记录器 RecorderRunsManager”([@emontnemery] - [#133201])
- 恢复“改进记录器历史查询(#131702)”([@emontnemery] - [#133203])
- 将 incomfort-client 升级到 v0.6.4 (@jbouwh - [#133205])
- 将 yalexs-ble 提升至 2.5.5 ([@bdraco] - [#133229])
- 将 homekit_controller 的 code_arm_required 设置为 False ([@bdraco] - [#133284])
- 允许仅传递 cadata 的 load_verify_locations ([@mib1185] - [#133299])
- 将
imgw-pib升级到版本 1.0.7 (@bieniu - [#133364]) - 修复了 flexit_bacnet 的风扇设定点 ([@lellky] - [#133388])
- 将假期提高到 0.63 (@gjohansson-ST - [#133391])[#131785]: https://github.com/home-assistant/核心/pull/131785 [#132195]: https://github.com/home-assistant/核心/pull/132195 [#132508]: https://github.com/home-assistant/核心/pull/132508 [#132509]: https://github.com/home-assistant/核心/pull/132509 [#132846]: https://github.com/home-assistant/核心/pull/132846 [#133123]: https://github.com/home-assistant/核心/pull/133123 [#133129]: https://github.com/home-assistant/核心/pull/133129 [#133159]: https://github.com/home-assistant/核心/pull/133159 [#133172]: https://github.com/home-assistant/核心/pull/133172 [#133183]: https://github.com/home-assistant/核心/pull/133183 [#133191]: https://github.com/home-assistant/核心/pull/133191 [#133201]: https://github.com/home-assistant/核心/pull/133201 [#133203]: https://github.com/home-assistant/核心/pull/133203 [#133205]: https://github.com/home-assistant/核心/pull/133205 [#133229]: https://github.com/home-assistant/核心/pull/133229 [#133284]: https://github.com/home-assistant/核心/pull/133284 [#133299]: https://github.com/home-assistant/核心/pull/133299 [#133364]: https://github.com/home-assistant/核心/pull/133364 [#133388]: https://github.com/home-assistant/核心/pull/133388 [#133391]: https://github.com/home-assistant/核心/pull/133391 [@Djelibeybi]: https://github.com/Djelibeybi [@MrConorAE]: https://github.com/MrConorAE [@bdraco]: https://github.com/bdraco @bieniu: https://github.com/bieniu [@emontnemery]: https://github.com/emontnemery @frenck: https://github.com/frenck @gjohansson-ST: https://github.com/gjohansson-ST @jbouwh: https://github.com/jbouwh @joostlek: https://github.com/joostlek [@lellky]: https://github.com/lellky [@mib1185]: https://github.com/mib1185 [@rappenze]: https://github.com/rappenze
2024年12月5日 - 12月20日- 将 nice-go 提升至 1.0.0 ([@IceBotYT] - [#133185])
- 添加对 Nice G.O. HAE00080 壁挂式遥控站的支持 ([@IceBotYT] - [#133186])
- 错误修复:当源为 0 时,还安排基于时间的集成 ([@ronweikamp] - [#133438])
- 如果协议适配器仍在启动,请确保 screenlogic 重试 ([@bdraco] - [#133444])
- 将 Freebox 升级到 1.2.1 ([@Quentame] - [#133455])
- 将 pyOverkiz 升级到 1.15.3 ([@iMicknl] - [#133458])
- 不要引发 Overkiz 用户流程 unique_id 检查 ([@iMicknl] - [#133471])
- 将 Roborock 更新至 2.8.1 ([@Lash-L] - [#133492])
- 将 fjäråskupan 更新至 2.3.1 ([@elupus] - [#133493])
- 将 fjäråskupan 更新至 2.3.2 ([@elupus] - [#133499])
- 将 Gardena_bluetooth 升级到 1.5.0 ([@elupus] - [#133502])
- 将 aiohttp 升级到 3.11.11 ([@bdraco] - [#133530])
- 处理音乐助手中经过时间的空值([@marcelveldt] - [#133597])
- 修复 Twinkly 进度提升问题 (@joostlek - [#133601])
- 连接到 MQTT 代理时处理 MQTT.WebsocketConnectionError ([@bdraco] - [#133610])[#132195]: https://github.com/home-assistant/核心/pull/132195 [#132509]: https://github.com/home-assistant/核心/pull/132509 [#132846]: https://github.com/home-assistant/核心/pull/132846 [#133123]: https://github.com/home-assistant/核心/pull/133123 [#133185]: https://github.com/home-assistant/核心/pull/133185 [#133186]: https://github.com/home-assistant/核心/pull/133186 [#133422]: https://github.com/home-assistant/核心/pull/133422 [#133438]: https://github.com/home-assistant/核心/pull/133438 [#133444]: https://github.com/home-assistant/核心/pull/133444 [#133455]: https://github.com/home-assistant/核心/pull/133455 [#133458]: https://github.com/home-assistant/核心/pull/133458 [#133471]: https://github.com/home-assistant/核心/pull/133471 [#133492]: https://github.com/home-assistant/核心/pull/133492 [#133493]: https://github.com/home-assistant/核心/pull/133493 [#133499]: https://github.com/home-assistant/核心/pull/133499 [#133502]: https://github.com/home-assistant/核心/pull/133502 [#133530]: https://github.com/home-assistant/核心/pull/133530 [#133597]: https://github.com/home-assistant/核心/pull/133597 [#133601]: https://github.com/home-assistant/核心/pull/133601 [#133610]: https://github.com/home-assistant/核心/pull/133610 [@IceBotYT]: https://github.com/IceBotYT [@Lash-L]: https://github.com/Lash-L [@Quentame]: https://github.com/Quentame [@bdraco]: https://github.com/bdraco [@elupus]: https://github.com/elupus @frenck: https://github.com/frenck [@iMicknl]: https://github.com/iMicknl @joostlek: https://github.com/joostlek [@marcelveldt]: https://github.com/marcelveldt [@ronweikamp]: https://github.com/ronweikamp
需要帮助吗?加入社区!
Home Assistant 拥有一个庞大的用户社区,他们都非常愿意 互相帮助。那么,加入我们吧!我们非常活跃的 Discord 聊天服务器 是一个绝佳的地方 ,并且不要忘记加入我们精彩的论坛。
发现错误或问题?请在我们的问题跟踪器 中报告它, 把它修好!或者,查看我们的帮助页面 以获取更多指导 你可以去的地方。
您更喜欢电子邮件吗? 订阅我们的“打造开放之家”时事通讯 获取有关功能、社区中发生的事情的最新消息以及 有关建造开放之家的其他新闻;直接进入您的收件箱。
向后不兼容的更改
我们尽力避免对现有功能进行更改,这可能会导致 意外地影响您的 Home Assistant 安装。不幸的是,有时, 这是不可避免的。
我们始终确保记录这些更改,以使过渡变得简单 对你来说是可能的。此版本具有以下向后不兼容的更改:
页面的测量单位从 p 更改为 pages。
如果在状态为的模板中使用,这可能会破坏用例
使用单位,例如 states('sensor.pages', with_unit=True)。
库未识别的 Ecovacs 设备将不再使用后备 吸尘器。相反,该设备不会添加到 Home Assistant, 并且将创建一个警告日志。
之前已弃用的 Glances v2 API 已被删除。 升级到 v3 或 继续使用集成。(@gjohansson-ST - #131427) (文档)
进行此更改后,time 或 ratio 模式下的 history_stats 将仅计数
明确已知的基于时间的记录数据。
在此更改之前,如果时间窗口的开始时间早于
记录器中最旧的数据点,history_stats 将使用
假设实体处于它从一开始就发现的第一个状态
的时间。当开关打开时,这可能会导致疯狂的过度计算
经过很长一段时间不活动后,history_stats 会认为它已经
_始终_一直在线并据此计算出巨大的价值。
为了支持 Rosh Chodesh,这创造了一个突破性的变化作为假期传感器 当这两个日子在同一天时,将返回“Chanukah, Rosh Chodesh” 日期。如果您的自动化需要“Chanukah”值,则必须更新 它。
对于Plugwise Adam来说,所有基于设备的温控实体都将被新的基于区域的温控实体取代,并且很可能有不同的实体名称。 此更改与 Plugwise 应用程序将温控实体表示为区域的方式一致(如问题 #130597 中发现的那样)。
QNAP 传感器将不再具有以下额外状态属性:-memory_free
-memory_percent_used
-memory_size
memory_usednetwork_errnetwork_link_statusnetwork_max_speednetwork_rxnetwork_txstatussystem_tempuptimevolume_percentage_usedvolume_size_freevolume_size_totalvolume_size_used
这些额外的状态属性已在 Home Assistant 2024.6 中弃用,并已 现在已被删除。如果您在自动化或脚本中使用它,请使用 可用单独的传感器代替。
自 Spotify 以来,Spotify 音频功能传感器已被删除 从 11 月 27 日开始,取消了他们的访问权限。
此外,精选和类别播放列表已从 Spotify 媒体浏览器,因为 Spotify 弃用了 API, 11 月 27 日开始。
(@joostlek - #131754 #131758) (文档)
以前,统计集成的实体状态属性仅在具有非 None 值时提供。
现在情况已发生变化,因此即使使用 None 也始终提供该属性
价值观。您可能需要修改您的自动化或脚本,具体取决于
这些属性是否存在。
(@gjohansson-ST - #129353) (文档)
Stookwijzer 传感器已迁移到 Atlas 提供的新 API 利丰格维文。因此,报告的状态略有不同。
旧与新:- 蓝色 (blauw) -> 黄色 (code_yellow)
- 橙色 (
oranje) -> 橙色 (code_orange) - 红色 (
rood) -> 红色 (code_red)
如果您在自动化或脚本中使用 Stookwijzer 传感器,您可能会 需要针对此更改进行调整。
在某些模板助手中可用的 this 模板变量是
以前基于新的状态而不是当前的状态。
如果模板使用 this,则更改会影响以下集成
变量。用户可能必须更新其模板以反映上述内容
使用 value 变量进行更改,该变量保存新值。
command_linerestscrapesnmpsql
通过此发布,您将需要更新您的 zwave-js-server 实例。你 必须使用 zwave-js-server 1.39.0 或更高版本(架构 39)。
- 如果您使用 Z-Wave JS 插件,则至少需要版本
0.9.0。 - 如果您使用 Z-Wave JS UI 插件,则至少需要版本
3.17.0。 - 如果您使用 Z-Wave JS UI Docker 容器,则至少需要版本
9.26.0。 - 如果您运行自己的 Docker 容器或其他安装方法,则需要将 zwave-js-server 实例更新到至少
1.39.0。
(@MindFreeze - #129482) (文档)
可用于您的集成的新功能:请务必遵循我们的 [开发者博客][开发博客]。以下是本次发布中最值得注意的内容:
所有更改
当然,这篇文章还有很多内容。您可以找到以下列表 此处所做的所有更改:Home Assistant Core 2024.12 的完整变更日志

