2024.6:借助 LLM 试水 AI 世界 🤖
Home Assistant Core 2024.6!🎉
欢迎来到又一个内容满满的 Home Assistant 版本!这次带来了很多令人兴奋的新功能,绝对值得记住。
我们来谈谈人工智能。人工智能也可能成为本世纪的热门话题。这些 所谓的 [LLM] 无疑打开了一个充满可能性的新世界。 当我们第一次为 Assist 引入 OpenAI 和 Google AI 对话代理时, 最需要的功能之一是能够用它来控制您的家。
现在是重大新闻:
好吧,从今天开始,你可以用人工智能控制你的家! 🤖
但本次发布还有更多内容。超级简单的媒体播放器命令, 更多数据表改进、标签实体、可折叠蓝图部分、 还有更多!
我个人对仪表盘领域的新功能感到最兴奋。 能够有条件地显示部分和动作绝对是一个游戏规则改变者 对于我的仪表盘。
享受发布!
../Frenck
不要忘记加入我们在 YouTube 上的发布派对直播 2024 年 6 月 5 日,格林尼治标准时间 20:00 / 太平洋标准时间 12:00 / 欧洲中部夏令时间 21:00!
语音和协助
本月,我们将继续致力于改进 Assist 的开箱即用功能 功能:我们不仅添加了您所期望的功能 语音助手,例如媒体控制,但我们正在跨越式发展 一些令人兴奋的新进展和人工智能实验! 🤖
我们将在即将发布的_Voice - 第 7 章_ 中宣布更多内容 6月26日直播!请留意这一点! 🎙️
借助 LLM 试水 AI 世界
我们语音助手的“大脑”叫作 conversation agent(对话代理)。 它负责理解口头命令背后的意图, 执行动作并产生响应。
自从我们开始这段语音之旅以来,我们就允许你切换到基于 LLM 的对话代理。这也促成了一些非常有趣的实验, 比如我们的臭名昭著的马里奥采访。
到目前为止,这两个世界(我们自己的Home Assistant对话代理 控制你的家庭和基于法学硕士的对话代理)没有重叠; 一个基于法学硕士的对话代理不可能控制你的家。
今天,我们很高兴地宣布我们正在缩小这一差距!
在设置基于 LLM 的对话代理时,您可以决定让 您的对话代理只需按一下开关即可控制您的家。
通过这个新设置,基于 LLM 的对话代理可以利用为 Assist 提供支持的意图系统。它们还可以访问所有暴露给 Assist 的内容,因此你可以准确控制代理能访问哪些实体。
利用我们的意图系统非常棒,因为它开箱即用。 基于 LLM 的对话代理可以完成 Assist 可以做的所有事情。 额外的好处是他们能够进行超越语言的推理, Assist 无法做到这一点。
例如,如果您的设备中暴露了一个名为“Webcam 灯光”的灯光 _“office”_区域,您可以直接发出命令,例如:
打开办公室网络摄像头灯光。
之前也与 Assist 一起使用,但您还可以提供更多 复杂的命令,例如:
我要去参加一个会议,你能确保人们看到我的脸吗?
代理人会弄清楚言语背后的意图 并调用匹配的暴露实体的正确意图。
我们的意图系统从一开始就被构建为可扩展的。 自定义集成,甚至用户可以注册自己的意图。 这使您能够指导代理超越开箱即用的能力。
以下是自定义意图的示例,向代理解释了什么 当我离开家时要做的事。
将此 YAML 片段添加到我的 configuration.yaml 后,如果
代理知道我要离开家,它不会按照它的想法关闭
我想要,它会运行我的 leave_home 脚本,这正是
我想要它做。
这个版本让该能力可用于 OpenAI 和 Google AI。为了让你更容易开始使用 LLM, 我们已经用正确的推荐模型更新了它们 准确性、速度和成本之间的平衡。如果您之前已设置过它们, 我们建议启用推荐的设置并清空说明。
我们推荐的模型在语音助手任务方面表现同样出色。 Google 比 OpenAI 便宜 14 倍,但 OpenAI 更擅长回答非智能问题 家庭问题。我们正在准备一篇博客文章,深入研究该研究 进入此功能,即将推出™!
从 Home Assistant 2024.4 开始,本地 LLM 已通过 Ollama 集成 获得支持。不过,Ollama 和主流开源 LLM 模型还没有针对工具调用进行优化,因此这部分能力必须从头构建,也没能赶上本次发布。我们正在与 NVIDIA 合作推进这项工作——他们上周已经展示了原型。
感谢所有为此功能做出贡献的人! @shulyaka,@tronikos, @allenporter、@synesthesiam、@jlpouffier 和 @balloob!
改进的媒体播放器命令
我们推出了新的媒体播放器,让您可以 说得多,说得少。您可以说出以下语音命令来控制 与您的辅助设备位于同一区域的媒体播放器:
- “暂停”
- “简历”
- “下一个”
- “将音量设置为 50%”
到目前为止,我们仅提出了针对特定实体的句子 它的名字。由于此限制,这些意图并不是最用户友好的, 因为句子太长,无法说:“跳到电视上的下一首歌曲”。
我们添加了两个功能来获得尽可能小的句子。背景 意识使我们的语音助手能够意识到与该设备位于同一区域的设备 卫星。我们还创建了一个智能匹配策略,可以找到 正确的媒体播放器作为目标。
例如,如果您说“暂停”,语音助手会自动 定位正在播放的媒体播放器。
只需确保您的语音助手设备被分配到有暴露的区域 媒体播放器,就可以开始了。
仪表盘
工作仍在继续,使仪表盘定制和组织变得更加容易 并且更直观。本月,我们为新版块添加了一项新功能 以及背景定制,您家中的每个人都会喜欢。
有条件地显示部分
我们为新的[仪表盘部分]功能添加了可见性选项。这个 令人惊叹的新功能允许您隐藏或显示基于特定的部分 条件。例如,当您位于 家。或者,当厨房灯光打开时,只显示关闭厨房灯光的开关 实际上都在。也许您有一个仅与您或您的人相关的部分 伴侣,并且您想对孩子们隐瞒它。
它使用与调节相同的条件, 这意味着您在做什么方面有很大的灵活性。
控制卡片的可见性
等等,我们可没有停下!现在同样的可见性功能也可以用于卡片了!没错!🚀
你现在可以根据特定条件隐藏或显示卡片。这可以让你 创建更动态的仪表盘来适应您的需求。最大的区别是 您不需要条件调节即可使用此功能。可用 直接在可见性选项卡中的配置配置中。
设置仪表盘背景
@Nezz 为我们的仪表盘 UI 贡献了一项出色的新功能:能够 为你的仪表盘设置背景图片!
以前,这只能通过编辑 YAML 来实现,但现在您可以做到 直接从用户界面。更好的是,您可以直接从您的 计算机或提供一个 URL!
照片:[绿叶树之间的水体],作者:Ian Turnell.
添加了相同的功能(直接从计算机上传图像) 图片也有!谢谢,@karwosts,谢谢!
数据表改进
就像最后发布, 此发布不断改进我们的数据表。
当我们引入数据分组 在表格中,您要求一种折叠和展开这些分组的方法, 所以我们在上一次发布中做到了!但后来我们很快意识到这不是 已经足够了,并且您希望能够立即折叠和展开所有组。 因此,我们为此发布做到了这一点!
我们还扩展了语音助手公开数据表以允许分组 按地区和领域。
此外,你在数据表中设置的过滤器现在会保存在当前浏览器会话中。这意味着如果你离开页面后再回来,过滤器仍会保留。不过,每个浏览器标签页或窗口都有自己的独立会话,所以你可以在不同标签页或窗口中使用不同的过滤器配置。
集成
感谢我们的社区跟进新的举动 对以及现有的改进!你们都很棒🥰
新集成
我们欢迎本版本中的以下新集成:- [空气梯度],由 @joostlek
添加
提供来自当地Airgradient设备的空气质量数据。
- APsystems,由 @mawoka-myblock
添加 监控您的 APsystems EZ1 微型预告器。 - [Azure 数据浏览器],由 @kaareseras
将事件从Home Assistant转发到Azure数据资源管理器进行分析。 - IMGW-PIB,由 @bieniu
添加 水文数据来自气象研究所 水管理——国家研究所提供信息 关于波兰的河流和水库。 - [智能存储加速],由 @bdraco
添加 智能存储加速库(ISAL)用于加速我们的 Home Assistant引入。它会自动启用/激活。 - Monzo,由 @JakeMartin-ICL
添加 将您的 Monzo 银行帐户连接到 Home Assistant 并获取意见 计入您的账户余额。
对现有集成的值得注意的改进
添加的不仅仅是新的,而且是新的。现有的。 集成度正在不断提高。以下是一些值得注意的 对现有集成的更改:
- 如果你需要连接更远距离的无线设备,比如 [LoRa] 设备,现在可以考虑 The Things Network 集成了。很棒,感谢 @angelnu!
- [@starkillerOG] 在 [Reolink] 中添加了对 PIR 和传感器电池的支持 集成。好!
- [Teslemetry] 集成已得到极大扩展,添加了新的 平台和功能。干得好[@Bre77]!
- 现在可以使用有限的模板来取消, , 和 . [@farmio] 认为这可能 对创作者有帮助。
- [@Anrijs] 添加了对 [Aranet Radiation] 设备的支持 [Aranet]集成。好!
- 您现在可以设置 [Husqvarna Automower] 的切割高度,然后在那里 是开关以离开某些区域。谢谢[@Thomas55555]!
- [@thomaskistler] 为 [Hydrawise] 添加了流量和雨传感器支持 集成。很棒的!
- [SwitchBot Cloud]集成现在支持[SwitchBot Meter], [MeterPlus] 和 [室外仪表]。谢谢[@laurence-presland]!@angelnu: https://github.com/angelnu [@Anrijs]: https://github.com/Anrijs [@Bre77]: https://github.com/Bre77 [@farmio]: https://github.com/farmio [@laurence-presland]: https://github.com/laurence-presland [@starkillerOG]: https://github.com/starkillerOG [@Thomas55555]: https://github.com/Thomas55555 [@thomaskistler]: https://github.com/thomaskistler [Aranet Radiation]: https://aranet.com/products/aranet-radiation-sensor [Aranet]: /integrations/aranet [Husqvarna Automower]: /integrations/husqvarna_automower [Hydrawise]: /integrations/hydrawise [LoRa]: https://en.wikipedia.org/wiki/LoRa [MeterPlus]: https://www.开关-bot.com/products/switchbot-meter-plus [Outdoor Meter]: https://www.开关-bot.com/products/switchbot-indoor-outdoor-thermo-hygrometer [Reolink]: /integrations/reolink [SwitchBot Cloud]: /integrations/switchbot_cloud [SwitchBot Meter]: https://www.开关-bot.com/products/switchbot-meter [Teslemetry]: /integrations/teslemetry The Things Network: /integrations/thethingsnetwork
集成达到白金质量级别
以下达到了我们的白金🏆等级 集成质量量表。这些集成是 最好的,给你一个出色的开箱即用的体验。
- [Fyta],由 [@dontinelli] 完成
- [Google Generative AI],由 @tronikos 完成
- IMGW-PIB,由 @bieniu 完成
- [Minecraft 服务器],由 [@elmurato] 完成
- [tedee],由 [@zweckj] 完成
祝贺所有参与这些集成的开发人员!@bieniu: https://github.com/bieniu [@dontinelli]: https://github.com/dontinelli [@elmurato]: https://github.com/elmurato @tronikos: https://github.com/tronikos [@zweckj]: https://github.com/zweckj [Fyta]: /integrations/fyta [Google Generative AI]: /integrations/google_generative_ai_conversation IMGW-PIB: /integrations/imgw_pib [Minecraft Server]: /integrations/minecraft_server [tedee]: /integrations/tedee
现在可以从 UI 进行设置
虽然大多数可以直接从Home Assistant进行设置 用户界面,有些只能使用 YAML 配置使用。我们继续前进 对 UI 进行更多集成,使每个人都更容易使用它们 设置和使用。
现在可通过 Home Assistant UI 使用以下集成:
- [文件],由 @jbouwh 完成
- [犹太历],由 @yuvalabou 完成
- [媒体提取器],由 @joostlek 完成
- [物联网],由 @angelnu 完成
告别以下内容
以下内容也不再可用 这篇文章的内容:
- Ambiclimate 已被 @gjohansson-ST 删除。他们的服务是 终止,自 2024 年 3 月 31 日起生效。
事情变成1.3
作为业内最早的公司之一,我们自豪地宣布Home Assistant 已经基于最新规范:Matter 1.3! 😎 Matter SDK 的更新版本提高了可靠性 以及 Matter 设备的兼容性。此版本还改进和扩展了设备支持。以物质为基础 现在支持空气净化器和房间空调设备,恒温器 和其他温控设备对设定点进行了重要修复,并进行了更新 我们的发现确保我们能够代表大多数设备的更多数据。
一些 Matter 设备具有所谓的“自定义集群”。 定制集群是制造商包含的标准化方式 非标准化数据。我们想要支持自定义集群,所以我们需要 单独添加对每一项的支持。
此发布允许Home Assistant在自定义数据时收到通知 集群更改(而不是按时间间隔轮询)。这将减少 网络流量并提高 Matter 网络的性能, 尤其是在更大的网络上。
其他值得注意的变化
本次发布还有更多改进;这是其他一些 此发布的值得注意的更改:
- 现在可以在实体设置中为每个报警控制设置默认代码 面板。干得好@gjohansson-ST!
- @Troon 为我们的:
add添加了一个过滤器。该过滤器允许 您可以添加类似于现有multiply的值。伟大的! - 一个新的动作构建块已添加到我们的和 通过 @surfingbytes 和 @frenck:[动作的运行顺序]。 这允许您将多个组合在一起或运行多个 [平行]的一系列动作。
- 传感器可以[分组]来计算,例如,它们的总和或平均值。 感谢 @CoRfr,现在可以计算 [标准差] 一组传感器。凉爽的!
禁用登录令牌过期
几个版本之前,我们引入了登录自动过期功能。如果登录 会话超过 90 天未使用,它将过期并自动清理。
有些人表示希望禁用此功能 各种原因。例如,由于有二级度假屋,因此不 经常拜访,或者因为亲戚只能来几次 一年。我们在用户配置文件中添加了一个新选项来禁用 特定登录令牌的过期时间。
您可以在您的个人资料设置中的安全选项卡下找到这些令牌。
标记实体!
Home Assistant 长期以来一直支持标签。标签功能 允许 NFC 标签或 QR 码与 Home Assistant 一起使用,例如 发生了。
然而,标签并不是真正的实体,因此使用起来并不总是那么合乎逻辑。 通过此发布,@gjohansson-ST 改变了这一点!
标签现在正常并且可以用于, , , 甚至可以添加到您的 你的仪表盘!
蓝图的可折叠部分!
@karwosts 在这篇文章中再次出现,并发表了他的另一篇生活质量文章 (生活质量)改善。他添加了添加可折叠部分的功能 到 .这允许蓝图创建者对配置进行分组 默认情况下,将选项放在一起或隐藏高级或不太常见的选项。
通过单击节标题可以折叠或展开每个节。
谢谢@karwosts!
阅读有关蓝图输入部分的更多信息 在我们的文档中。
正在寻找有趣的蓝图来开始?查看 在我们的社区论坛上[蓝图交流]!有很棒的自动化 可用的蓝图。
帖子发布
我们在 6 月份发布了 Home Assistant 2024.6 的补丁版本。这些 补丁版本仅包含错误修复。我们的目标是发布补丁 每个星期五。
2024年6月1日 - 6月7日
-
将请求更新到 2.32.3 ([@cdce8p] - [#118868])
-
在句子中优先考虑标记名称槽的文本文本(@synesthesiam - [#118900])
-
检查 imap 消息文本是否有值,而不是检查它是否不是 None ([@engrbm87] - [#118901])
-
修复不稳定的 Google Assistant 测试 ([@jpbede] - [#118914])
-
恢复“将 orjson 更改为 3.10.3 (#116945)”(@bdraco - [#118920])
-
将
imgw-pib库转换为1.0.2版本 (@bieniu - [#118953]) -
修复报警控制面板需要多个集成中的代码(@gjohansson-ST - [#118961])
-
将 python-holidays 提升至 0.50 (@gjohansson-ST - [#118965])
-
将 pydrawise 升级到 2024.6.3 ([@dknowles2] - [#118977])
-
将
imgw-pib库升级为1.0.4版本 (@bieniu - [#118978]) -
修复空气湿度传感器的测量(单位@joostlek - [#118981])
-
修复对某些明白的曝光检查(@synesthesiam - [#118988])
-
从 http 中的 after_dependency 中删除 isal (@bdraco - [#119000])
-
在 Shelly RPC 重新连接中保持连接门锁 ([@thecode] - [#119009])
-
detached_addon_missing 中始终包含插件 url ([@mdegat01] - [#119011])
-
增加KNX温控的测试覆盖率 ([@farmio] - [#117903])
-
修复 KNX
climate.set_hvac_mode无法转动on([@farmio] - [#119012]) -
修复 snmp 开关中的重构错误 (@bdraco - [#119028])
-
修复 Remember_the_milk 从错误线程调用配置器异步 api (@bdraco - [#119029])
-
修复 AirGradient 名称 (@joostlek - [#119046])
-
添加类型忽略注释([@cdce8p] - [#119052])
-
修复 Azure 数据资源管理器字符串 (@joostlek - [#119067])[#117903]: https://github.com/home-assistant/核心/pull/117903 [#118400]: https://github.com/home-assistant/核心/pull/118400 [#118868]: https://github.com/home-assistant/核心/pull/118868 [#118900]: https://github.com/home-assistant/核心/pull/118900 [#118901]: https://github.com/home-assistant/核心/pull/118901 [#118914]: https://github.com/home-assistant/核心/pull/118914 [#118920]: https://github.com/home-assistant/核心/pull/118920 [#118953]: https://github.com/home-assistant/核心/pull/118953 [#118961]: https://github.com/home-assistant/核心/pull/118961 [#118965]: https://github.com/home-assistant/核心/pull/118965 [#118977]: https://github.com/home-assistant/核心/pull/118977 [#118978]: https://github.com/home-assistant/核心/pull/118978 [#118981]: https://github.com/home-assistant/核心/pull/118981 [#118988]: https://github.com/home-assistant/核心/pull/118988 [#119000]: https://github.com/home-assistant/核心/pull/119000 [#119009]: https://github.com/home-assistant/核心/pull/119009 [#119011]: https://github.com/home-assistant/核心/pull/119011 [#119012]: https://github.com/home-assistant/核心/pull/119012 [#119028]: https://github.com/home-assistant/核心/pull/119028 [#119029]: https://github.com/home-assistant/核心/pull/119029 [#119046]: https://github.com/home-assistant/核心/pull/119046 [#119052]: https://github.com/home-assistant/核心/pull/119052 [#119067]: https://github.com/home-assistant/核心/pull/119067 @bdraco: https://github.com/bdraco @bieniu: https://github.com/bieniu [@cdce8p]: https://github.com/cdce8p [@dknowles2]: https://github.com/dknowles2 [@engrbm87]: https://github.com/engrbm87 [@farmio]: https://github.com/farmio @frenck: https://github.com/frenck @gjohansson-ST: https://github.com/gjohansson-ST @joostlek: https://github.com/joostlek [@jpbede]: https://github.com/jpbede [@mdegat01]: https://github.com/mdegat01 @synesthesiam: https://github.com/synesthesiam [@thecode]: https://github.com/thecode### 2024年6月2日 - 6月11日- 修复 statistic_during_period 错误地优先统计 ST 而不是 LT (@karwosts - [#115291])
-
将 pyElectra 升级到 1.2.1 ([@rubeecube] - [#118958])
-
将 Gardena 库更新至 1.4.2 ([@elupus] - [#119010])
-
当传感器组中存在实体信息时计算属性(@gjohansson-ST - [#119021])
-
将 google-generativeai 升级到 0.6.0 (@tronikos - [#119062])
-
修复Azure数据浏览器(@kaareseras - [#119089]) -确保允许在同一事件循环迭代中多次执行重启自动化(@bdraco - [#119100])
-
修复网络 2 上的控件 4 ([@adrum] - [#119104])
-
处理正确的交付给Google Generative AI中的工具的转义unicode字符(@tronikos - [#119117])
-
在 Google Generative AI 中捕获 GoogleAPICallError (@tronikos - [#119118])
-
将 aioshelly 升级到 10.0.1 ([@thecode] - [#119123])
-
将 aiowaqi 升级到 3.1.0 (@joostlek - [#119124]) -确定具有安全名称的工具(@balloob - [#119144])
-
修复工作日时区([@TomBrien] - [#119148])
-
将 py-synologydsm-api 升级至 2.4.4 (@mib1185 - [#119156])
-
在 Synology DSM 中使用更严格的超时值 (@mib1185 - [#119169])
-
在连接和断开连接期间处理 Shelly BLE 错误 ([@thecode] - [#119174])
-
修复 elgato 灯光颜色检测 ([@LapsTimeOFF] - [#119177])
-
将 opower 提升至 0.4.7 (@tronikos - [#119183])
-
当 enigma2 中未搜索到 mac 地址时,添加后备至entry_id ([@autinrd] - [#119185])
-
修复 envisalink 报警 (@gjohansson-ST - [#119212])
-
修复了接收格式错误的解码有效负载时崩溃的问题 (@angelnu - [#119216])
-
修复 Glances v4 网络和容器问题 (glances-api 0.8.0) ([@wittypluck] - [#119226])
-
将 python-roborock 升级到 2.3.0 ([@ethemcemozkan] - [#119228])
-
恢复 SamsungTV 迁移([@epenet] - [#119234])
-
始终在 Google Assistant 中提供当前的 ArmLevel ([@elupus] - [#119238])
-
删除我自己作为 unifiprotect 代码所有者的身份 (@bdraco - [#118824])
-
使用 uiprotect 切换 unifiprotect lib (@bdraco - [#119243])
-
修复 Idasen Desk 配置流程中错误的参数名称 ([@abmantis] - [#119247])
-
修复 nexia 中温控开/关问题 (@bdraco - [#119254])
-
将 google-nest-sdm 升级到 4.0.5 (@allenporter - [#119255])
-
将 uiprotect 升级到 0.4.0 (@bdraco - [#119256])
-
提高每日测试覆盖率(@bdraco - [#119259])
-
修复 OpenWeatherMap 上的持久性引发的修复问题 (@frenck - [#119289])
-
将 uiprotect 升级到 0.4.1 (@bdraco - [#119308])
-
向 Ping 更多调试日志记录 ([@jpbede] - [#119318])
-
前端更新至 20240610.0 ([@bramkragten] - [#119320])
-
修复核心重启后的 statistic_during_period ([@emontnemery] - [#119323])
-
修复 AladdinConnect OAuth 域 ([@swcloudgenie] - [#119336])
-
将
imgw-pib库升级到版本 1.0.5 (@bieniu - [#119360])[#115291]: https://github.com/home-assistant/核心/pull/115291 [#118400]: https://github.com/home-assistant/核心/pull/118400 [#118824]: https://github.com/home-assistant/核心/pull/118824 [#118958]: https://github.com/home-assistant/核心/pull/118958 [#119010]: https://github.com/home-assistant/核心/pull/119010 [#119021]: https://github.com/home-assistant/核心/pull/119021 [#119062]: https://github.com/home-assistant/核心/pull/119062 [#119089]: https://github.com/home-assistant/核心/pull/119089 [#119096]: https://github.com/home-assistant/核心/pull/119096 [#119100]: https://github.com/home-assistant/核心/pull/119100 [#119104]: https://github.com/home-assistant/核心/pull/119104 [#119117]: https://github.com/home-assistant/核心/pull/119117 [#119118]: https://github.com/home-assistant/核心/pull/119118 [#119123]: https://github.com/home-assistant/核心/pull/119123 [#119124]: https://github.com/home-assistant/核心/pull/119124 [#119144]: https://github.com/home-assistant/核心/pull/119144 [#119148]: https://github.com/home-assistant/核心/pull/119148 [#119156]: https://github.com/home-assistant/核心/pull/119156 [#119169]: https://github.com/home-assistant/核心/pull/119169 [#119174]: https://github.com/home-assistant/核心/pull/119174 [#119177]: https://github.com/home-assistant/核心/pull/119177 [#119183]: https://github.com/home-assistant/核心/pull/119183 [#119185]: https://github.com/home-assistant/核心/pull/119185 [#119212]: https://github.com/home-assistant/核心/pull/119212 [#119216]: https://github.com/home-assistant/核心/pull/119216 [#119226]: https://github.com/home-assistant/核心/pull/119226 [#119228]: https://github.com/home-assistant/核心/pull/119228 [#119234]: https://github.com/home-assistant/核心/pull/119234 [#119238]: https://github.com/home-assistant/核心/pull/119238 [#119243]: https://github.com/home-assistant/核心/pull/119243 [#119247]: https://github.com/home-assistant/核心/pull/119247 [#119254]: https://github.com/home-assistant/核心/pull/119254 [#119255]: https://github.com/home-assistant/核心/pull/119255 [#119256]: https://github.com/home-assistant/核心/pull/119256 [#119259]: https://github.com/home-assistant/核心/pull/119259 [#119289]: https://github.com/home-assistant/核心/pull/119289 [#119308]: https://github.com/home-assistant/核心/pull/119308 [#119318]: https://github.com/home-assistant/核心/pull/119318 [#119320]: https://github.com/home-assistant/核心/pull/119320 [#119323]: https://github.com/home-assistant/核心/pull/119323 [#119336]: https://github.com/home-assistant/核心/pull/119336 [#119360]: https://github.com/home-assistant/核心/pull/119360 [@LapsTimeOFF]: https://github.com/LapsTimeOFF [@TomBrien]: https://github.com/TomBrien [@abmantis]: https://github.com/abmantis [@adrum]: https://github.com/adrum @allenporter: https://github.com/allenporter @angelnu: https://github.com/angelnu @autinerd: https://github.com/autinerd @balloob: https://github.com/balloob @bdraco: https://github.com/bdraco @bieniu: https://github.com/bieniu [@bramkragten]: https://github.com/bramkragten [@elupus]: https://github.com/elupus [@emontnemery]: https://github.com/emontnemery [@epenet]: https://github.com/epenet [@ethemcemozkan]: https://github.com/ethemcemozkan @frenck: https://github.com/frenck @gjohansson-ST: https://github.com/gjohansson-ST @joostlek: https://github.com/joostlek [@jpbede]: https://github.com/jpbede @kaareseras: https://github.com/kaareseras @karwosts: https://github.com/karwosts @mib1185: https://github.com/mib1185 [@rubeecube]: https://github.com/rubeecube [@swcloudgenie]: https://github.com/swcloudgenie [@thecode]: https://github.com/thecode @tronikos: https://github.com/tronikos [@wittypluck]: https://github.com/wittypluck### 2024年6月3日 - 6月15日 -
使计时器的剩余时间供法学硕士使用(@tronikos - [#118696])
-
将 uiprotect 升级到 0.10.1 (@bdraco - [#119327])
-
将 uiprotect 升级到 0.13.0 (@bdraco - [#119344])
-
将 uiprotect 升级到 1.0.0 (@bdraco - [#119415])
-
修复 unifiprotect 选项字符串中不正确的钥匙名称 (@bdraco - [#119417])
-
将buieradar升级到1.0.6 ([@mjj4791] - [#119433])
-
将 uiprotect 升级到 v1.0.1 ([@ep1cman] - [#119436])
-
将 uiprotect 升级到 1.1.0 (@bdraco - [#119449])
-
将记录器添加到gardena蓝牙([@elupus] - [#119460])
-
恢复使用集成回退配置进行tado热水器回退([@erwindouna] - [#119466])
-
部分恢复“向 Ping 集成添加更多调试日志记录”([@jpbede] - [#119487])
-
恢复“恢复使用集成回退配置进行tado水回退”([@ethemcemozkan] - [#119526])
-
修复 Reolink 快照流的错误 ([@starkillerOG] - [#119572])
-
将 uiprotect 升级到 1.2.1 (@bdraco - [#119620])
-
修复组启用平台如果有替代状态则预加载(@jbouwh - [#119621])
-
更新前端至 20240610.1 ([@piitaya] - [#119634])
-
软化 unifiprotect EA 通道消息 (@bdraco - [#119641])
-
将 Goodwe 提升至 0.3.6 ([@mletenay] - [#119646])
-
将 uiprotect 升级到 1.4.1 (@bdraco - [#119653])
-
将 uiprotect 升级到 1.6.0 (@bdraco - [#119661])
-
修复 concord232 中的报警默认代码 (@gjohansson-ST - [#119691])
-
将 uiprotect 升级到 1.7.1 (@bdraco - [#119694])
-
将 uiprotect 升级到 1.7.2 (@bdraco - [#119705])
-
增加 ZHA 依赖项 ([@TheJulianJES] - [#119713])
-
确定 UniFi Protect EA 警告不会持续存在 (@frenck - [#119730]) -保证工作日问题不会持续存在 (@frenck - [#119732])[#118400]: https://github.com/home-assistant/核心/pull/118400 [#118696]: https://github.com/home-assistant/核心/pull/118696 [#119096]: https://github.com/home-assistant/核心/pull/119096 [#119327]: https://github.com/home-assistant/核心/pull/119327 [#119344]: https://github.com/home-assistant/核心/pull/119344 [#119376]: https://github.com/home-assistant/核心/pull/119376 [#119415]: https://github.com/home-assistant/核心/pull/119415 [#119417]: https://github.com/home-assistant/核心/pull/119417 [#119433]: https://github.com/home-assistant/核心/pull/119433 [#119436]: https://github.com/home-assistant/核心/pull/119436 [#119449]: https://github.com/home-assistant/核心/pull/119449 [#119460]: https://github.com/home-assistant/核心/pull/119460 [#119466]: https://github.com/home-assistant/核心/pull/119466 [#119487]: https://github.com/home-assistant/核心/pull/119487 [#119526]: https://github.com/home-assistant/核心/pull/119526 [#119572]: https://github.com/home-assistant/核心/pull/119572 [#119620]: https://github.com/home-assistant/核心/pull/119620 [#119621]: https://github.com/home-assistant/核心/pull/119621 [#119634]: https://github.com/home-assistant/核心/pull/119634 [#119641]: https://github.com/home-assistant/核心/pull/119641 [#119646]: https://github.com/home-assistant/核心/pull/119646 [#119653]: https://github.com/home-assistant/核心/pull/119653 [#119661]: https://github.com/home-assistant/核心/pull/119661 [#119691]: https://github.com/home-assistant/核心/pull/119691 [#119694]: https://github.com/home-assistant/核心/pull/119694 [#119705]: https://github.com/home-assistant/核心/pull/119705 [#119713]: https://github.com/home-assistant/核心/pull/119713 [#119730]: https://github.com/home-assistant/核心/pull/119730 [#119732]: https://github.com/home-assistant/核心/pull/119732 [@TheJulianJES]: https://github.com/TheJulianJES @bdraco: https://github.com/bdraco [@elupus]: https://github.com/elupus [@ep1cman]: https://github.com/ep1cman [@erwindouna]: https://github.com/erwindouna [@ethemcemozkan]: https://github.com/ethemcemozkan @frenck: https://github.com/frenck @gjohansson-ST: https://github.com/gjohansson-ST @jbouwh: https://github.com/jbouwh [@jpbede]: https://github.com/jpbede [@mjj4791]: https://github.com/mjj4791 [@mletenay]: https://github.com/mletenay [@piitaya]: https://github.com/piitaya [@starkillerOG]: https://github.com/starkillerOG @tronikos: https://github.com/tronikos
2024年6月4日 - 6月21日- UniFi 临时修复以处理运行时数据([@Kane610] - [#120031])
- 修复 Synology DSM 共享图像 ([@lodesmets] - [#117695])
- 修复犹太日历唯一 ID 迁移([@tsvi] - [#119683])
- 修复 Spotify 中的模型导入 ([@jjlawren] - [#119747])
- 将 Kasa Dimmer 添加到 Matter TRANSITION_BLOCKLIST ([@dubstomp] - [#119751])
- 将 py-canary 升级到 v0.5.4 ([@0bmay] - [#119793])
- 将张力固定到 8.3.0 ([@cdce8p] - [#119815])
- 将 aiozoneinfo 提升至 0.2.0 (@bdraco - [#119845])
- 修复 Ecobee 风速单位 ([@bjpetit] - [#119870])
- 将 hdate 更改为 0.10.9 ([@tsvi] - [#119887])
- 将weatherflow4py升级到0.2.21 ([@jeeftor] - [#119889])
- 将 babel 升级到 2.15.0 (@gjohansson-ST - [#119006])
- 将 python-holidays 提升至 0.51 (@gjohansson-ST - [#119918])
- 修复 Onkyo 区域音量 ([@arturpragacz] - [#119949])
- 插件式升级至 v0.37.4.1 ([@bouwew] - [#119963])
- 回退到模式恢复时不断创建一个新的 HomeAssistant 对象 ([@emontnemery] - [#119969])
- 修复 Hydrawise 体积单位错误 ([@thomaskistler] - [#119988])
- 修复没有声音模式的条形音箱的 Songpal 崩溃问题 ([@BestPig] - [#119999])
- 将 env-canada 提升至 0.6.3 ([@gwww] - [#120035])
- 将 aioimaplib 升级到 1.1.0 (@jbouwh - [#120045])
- 将 AEMET-OpenData 更新至 v0.5.2 ([@Noltari] - [#120065])
- 将意图提升至 2024.6.21 (@synesthesiam - [#120106])
- 将 pydrawise 更新至 2024.6.4 ([@thomaskistler] - [#119868])[#117695]: https://github.com/home-assistant/核心/pull/117695 [#118400]: https://github.com/home-assistant/核心/pull/118400 [#119006]: https://github.com/home-assistant/核心/pull/119006 [#119096]: https://github.com/home-assistant/核心/pull/119096 [#119376]: https://github.com/home-assistant/核心/pull/119376 [#119683]: https://github.com/home-assistant/核心/pull/119683 [#119742]: https://github.com/home-assistant/核心/pull/119742 [#119747]: https://github.com/home-assistant/核心/pull/119747 [#119751]: https://github.com/home-assistant/核心/pull/119751 [#119793]: https://github.com/home-assistant/核心/pull/119793 [#119815]: https://github.com/home-assistant/核心/pull/119815 [#119845]: https://github.com/home-assistant/核心/pull/119845 [#119868]: https://github.com/home-assistant/核心/pull/119868 [#119870]: https://github.com/home-assistant/核心/pull/119870 [#119887]: https://github.com/home-assistant/核心/pull/119887 [#119889]: https://github.com/home-assistant/核心/pull/119889 [#119918]: https://github.com/home-assistant/核心/pull/119918 [#119949]: https://github.com/home-assistant/核心/pull/119949 [#119963]: https://github.com/home-assistant/核心/pull/119963 [#119969]: https://github.com/home-assistant/核心/pull/119969 [#119988]: https://github.com/home-assistant/核心/pull/119988 [#119999]: https://github.com/home-assistant/核心/pull/119999 [#120028]: https://github.com/home-assistant/核心/pull/120028 [#120031]: https://github.com/home-assistant/核心/pull/120031 [#120035]: https://github.com/home-assistant/核心/pull/120035 [#120045]: https://github.com/home-assistant/核心/pull/120045 [#120065]: https://github.com/home-assistant/核心/pull/120065 [#120106]: https://github.com/home-assistant/核心/pull/120106 [@0bmay]: https://github.com/0bmay [@BestPig]: https://github.com/BestPig [@Kane610]: https://github.com/Kane610 [@Noltari]: https://github.com/Noltari [@arturpragacz]: https://github.com/arturpragacz @bdraco: https://github.com/bdraco [@bjpetit]: https://github.com/bjpetit [@bouwew]: https://github.com/bouwew [@cdce8p]: https://github.com/cdce8p [@dubstomp]: https://github.com/dubstomp [@emontnemery]: https://github.com/emontnemery @frenck: https://github.com/frenck @gjohansson-ST: https://github.com/gjohansson-ST [@gwww]: https://github.com/gwww @jbouwh: https://github.com/jbouwh [@jeeftor]: https://github.com/jeeftor [@jjlawren]: https://github.com/jjlawren [@lodesmets]: https://github.com/lodesmets @synesthesiam: https://github.com/synesthesiam [@thomaskistler]: https://github.com/thomaskistler [@tsvi]: https://github.com/tsvi
需要帮助吗?加入社区!
Home Assistant 拥有一个庞大的用户社区,他们都非常愿意 互相帮助。那么,加入我们吧!
我们非常活跃的 Discord 聊天服务器 是一个绝佳的地方 ,并且不要忘记加入我们精彩的论坛。
发现错误或问题?请在我们的问题跟踪器 中报告, 把它修好!或者,查看我们的帮助页面 以获取更多指导 你可以去的地方。
您更喜欢电子邮件吗? 订阅我们的“打造开放之家”时事通讯 获取有关功能、社区中发生的事情的最新消息以及 有关建造开放之家的其他新闻;直接进入您的收件箱。
向后不兼容的更改
我们尽力避免对现有功能进行更改,这可能会导致 意外地影响您的 Home Assistant 安装。不幸的是,有时, 这是不可避免的。我们始终确保记录这些更改,以使过渡变得简单 对你来说是可能的。此版本具有以下向后不兼容的更改:
Anova 设备的 State 和 Mode 实体已更改以匹配
新协议消息传递。任何基于这些实体的自动化都需要
已更新。
之前已弃用的服务 reboot、reconnect 和 cleanup 已
已被删除。请使用相应的实体按钮代替。
文件集成的通知服务现在需要文件路径 是允许的路径。您应该检查访问的文件是否在 allowlist_external_dirs 确保您的自动化持续运行。
MQTT 门锁现在支持门锁 open 和 opening 状态。使用门锁时
在 optimistic 模式下,其状态将变为 open 而不是 unlocked
它被打开。
MQTT 实体处理空负载和 "None" 状态负载的行为
alarm_control_panel、climate、cover 变得更加可预测,
device_tracker、lock、select、valve 和 water_heater 项目:
- 状态负载的“None”(字符串)通常表示状态
变为
unknown。 - 空的有效负载被忽略。
以前,“无”状态可能被视为无效或被忽略。
迁移到支持 OneCall API (3.0) 的新库。
OWM API v2.5 将于 2024 年 6 月关闭。所有 OpenWeatherMap 集成必须 迁移到模式(API)v3.0以避免服务中断。
在迁移之前,您必须拥有有效的订阅(请注意 订阅激活最多需要 2 小时)。订阅激活后, 用户可以通过修复通知或手动将集成迁移到v3.0模式 通过集成配置菜单。
该订阅有免费套餐,每天可拨打 1000 次电话。考虑设置限制 在 OpenWeatherMap 网站上保持 API 使用率低于阈值 产生费用。
【OpenWeatherMap官方声明】(https://openweathermap.org/one-call-transfer)
定义自定义超时的选项已被删除。超时已设置 静态为 30 秒的正常值。
由于唯一ID的改变,可能会出现重复的实体。过时的实体 可以删除。
WAQI 空气质量传感器的状态属性已被删除。 该属性已被单个传感器取代;使用这些来代替。(@joostlek - #116595) (文档)
通过此发布,您将需要更新您的 zwave-js-server 实例。
您必须使用 zwave-js-server 1.35.0 或更高版本(架构 35)。
- 如果您使用 Z-Wave JS 插件,则至少需要版本 0.5.0。
- 如果您使用 Z-Wave JS UI 插件,则至少需要版本 3.4.2。
- 如果您使用 Z-Wave JS UI Docker 容器,则至少需要版本 9.10.0。
- 如果您运行自己的 Docker 容器或其他安装方法,则需要将 zwave-js-server 实例至少更新到 1.35.0。
如果您是自定义集成开发人员并且想要了解更改和 可用于您的集成的新功能:请务必遵循我们的 [开发者博客][开发博客]。以下是本次发布中最值得注意的内容:
- 报警控制面板本体代码验证
- 实体平台与群体整合的变化
- 向法学硕士公开Home Assistant API
- 在不阻塞事件循环的情况下处理时区
- 我们如何设法加快 CI 速度,每月节省 168 天以上的执行时间
- 改进了 hass.data 的输入
- LockEntity 支持 open/opening 状态
- 通知实体平台实施第二阶段
所有更改
当然,这篇文章还有很多内容。您可以找到以下列表 此处所做的所有更改:Home Assistant Core 2024.6 的完整变更日志


