博客
2026
- Device registry WebSocket API 变更
- Frontend component updates 2026.8
- Button event entities 的标准 event types
- Devices 限制为单个 config entry,最多一个 subentry
- 介绍 Open Home Foundation AI Policy
- 在 Home Assistant 中现代化 Modbus
- Media sources 现在可以搜索
- 引入新的 unit enumerators
- async_initialize_triggers 的 home_assistant_start flag 弃用
- Frontend component updates 2026.7
- Device tracker entity models 的变更
- Frontend component updates 2026.6
- Card picker 中的自定义卡片建议
- Data entry flow 中 advanced mode 的弃用
- BrowseMediaSource:domain 现在是必需的
- Condition 和 script APIs 的变更
- MQTT publish API 支持 message expiry interval
- MQTT publish API 变更
- 在自定义卡片中格式化 entity 名称
- 弃用 config flow 中使用 reloading methods 的 config entry listener
- Frontend context groups、新的 context decorators 和已弃用的 contexts
- Frontend component updates 2026.5
- 认真对待 serial:从 pyserial 迁移到 serialx
- 用于 RF 设备集成的新 radio frequency entity platform
- 注册自定义 dashboard strategies
- Legacy device tracker platform API 弃用
- Doorbell event entities 的标准 event type
- Domain 不匹配的 Entity IDs 已弃用
- 将 app builds 迁移到 Docker BuildKit
- 用于 IR 设备集成的新 infrared entity platform
- Frontend lazy context
- Frontend 新的 dialogs 方式
- Frontend component updates 2026.4
- Backup agents 现在可以报告上传进度
- 自定义集成现在可以自带品牌图片
- 移除已弃用的 light features
- OAuth 2.0 helper 错误处理的变更
- webhook helper 的 reconfiguration 支持
- Labs 中的 async_listen 已弃用
- 用 prek 替代 pre-commit
- 解决 pyserial-asyncio 阻塞 event loop 的问题
2025
- 为 service action translations 引入 description placeholders
- Store data 在 worker thread 中序列化现需 opt-in
- 为 MQTT subscription 添加状态回调
- 设备识别按钮现被归类为 diagnostic
- 引入 Labs:在成为标准之前预览功能
- Data Update Coordinator 现支持 Retry After
- CalculatedState 中的 capability_attributes 字段已移除
- 无网络连接时 oauth2 配置的改进错误处理
- TemperatureConverter.convert_interval 弃用
- Service translations 已从 WebSocket get_services 和 REST /api/services 中移除
- Recorder statistics API 的变更
- target selector 中的 device filter 已被移除
- Update coordinator 现允许重新触发
- 注册 platform entity service 的改进 API
- 弃用 service helpers 中的 hass 参数
- 统一测量单位中 μ 的编码
- DeviceEntry.suggested_area 属性已弃用并将被移除
- FlowResult typed dict 中的 result 属性已被移除
- 关于 helper 集成链接到其他集成 device 的更新指南
- media player 的 STANDBY state 已弃用
- 自 OS 16 起 add-on 中打开文件限制的处理
- Vacuum 电池属性已弃用
- Sensor device classes 现拥有默认显示精度
- 图标翻译现已支持范围
- Device tracker TrackerEntity location accuracy 属性类型变更
- 在 media player 中搜索
- UnitSystem dataclass 现已冻结
- ConfigSubentryFlow 的变更
- Media player toggle 操作已变更
- BackupAgent API 的变更
- 对 config flow unique ID 的新检查
- Config entry state 转换已更改
- Backup agents
- 支持 config subentries
- 每距离能量单位
- 迁移 dhcp/ssdp/usb/zeroconf ServiceInfo models
2024
- 新增面积 device class
- 迁移到 Pydantic v2
- 使用 Kelvin 作为首选 color temperature 单位
- WaterHeaterEntityDescription 名称已更改
- Vacuum 新增 state 属性
- Climate entity 现在支持独立的水平 swing
- Utility 函数 homeassistant.util.dt.utc_to_timestamp 已弃用
- Camera API 变更
- 翻译 measurement 单位
- 集成质量等级
- OptionsFlow 新增辅助属性
- Sections view 中自定义卡片支持尺寸设置
- Reauth 和 reconfigure flows 必须关联到一个 config entry
- Update entity 的变更
- Core config 类已迁移
- Alarm control panel 新增 state 属性与 state enum
- reauth 和 reconfigure flows 的新辅助函数与最佳实践
- 延长 hass.helpers 的 deprecation 期限
- UnitOfConductivity enum 的变更
- 弃用 cover 相关 state 常量
- 介绍 Assist satellite 实体
- Update 平台的版本比较现在可以自定义覆盖
- device_tracker 强制使用 SourceType 并新增 shorthand 属性和 EntityDescription
- Climate set_temperature 方法新增额外校验
- 弃用 lock 相关 state 常量
- 弃用 camera 相关 state 常量
- 弃用 Vacuum 相关 feature flag 常量
- 弃用 Media Player 相关常量
- 延长 @bind_hass 和 hass.components 的 deprecation 期限
- energy 类传感器新增卡路里单位
- Template.hass 在渲染模板时不再自动设置
- entity action schema 的验证
- icon translations schema 的变更
- LawnMowerActivity 中的新 returning 类型
- 使用 setup 方法设置 DataUpdateCoordinator
- Climate entity 现在验证 action call 中提供的温度
- FanEntity 中的新 entity feature flag
- Services 现在称为 Actions
- 为 DeviceInfo 添加 model_id
- 新的 HVACAction DEFROSTING
- 使用 MATCH_ALL 从 recording 中排除所有 state attribute
- 通过
async_register_static_paths使 http path 注册变为 async 安全 - 将设置转发到 config entry platform
- Alarm Control Panel entity 的 code 验证
- 将 Home Assistant API 暴露给 LLMs
- 处理时区而不阻塞 event loop
- LockEntity 支持 open/opening state
- 使用 group integration 设置 entity platform 的变更
- 我们如何设法加快 CI 速度,每月节省 168+ 天的执行时间
- notify entity platform 实现第二阶段
- 改进 hass.data 的 typing
- 在 config entry 中存储 runtime 数据
- 在成功的 re-auth flow 之后始终 reload
- 用
async_track_state_change_event替换async_track_state_change - 新的 notify entity platform
- 弃用旧的 backports 和 typing alias
- 弃用
async_add_hass_job - uv 如何每月为 Home Assistant 节省 215 个计算小时
- 弃用 hass.helpers 的使用
- Config Entries 现在可以提供 reconfigure 步骤
- 新的 state 时间戳 State.last_reported
- 使用翻译抛出 exception
- 弃用
async_run_job和async_add_job - Climate entity 的辅助加热器已弃用
- 在 executor 中导入集成以避免阻塞 event loop
- 对单独文件中的平台翻译的支持将被移除
- 引入 device name 翻译功能
- 弃用 @bind_hass 和 hass.components 的使用
- 新的 single instance only manifest 选项
- 新的 Climate entity toggle 方法
- lights 现在必须设置 color mode
- 修改 config entries
- ha-state-icon 的 properties 变更
- Climate entity 中的新 entity features
- lights 显示 effect 时 light color mode 的变更
- 枚举 services
- Icon 翻译
- 引入 entity translation placeholders
- 弃用 sensor unit of measurement 和 state class 的无效用法
- FlowManager.async_show_progress 的变更
2023
- 弃用所有 supported features 的 magic numbers
- 已弃用的常量会产生日志条目
- Config entry 现在支持 minor 版本
- EntityDescription 数据类的变更
- 新的 scaling 工具与 import 变更
- 服务调用期间的异常处理与翻译支持
- 配置处理与错误处理
- 公开 Add-on 配置
- Country selector
- 移除已弃用的单位转换工具
- Home Assistant 参与 Hacktoberfest 2023!
- 排除 state 属性不参与 recording 的新方式
- websocket 命令 entity/source 已修改
- HomeAssistant.init 要求向其传递字符串
- Entity state 格式化
- 数值型 sensor 不再允许将 state 设置为 NaN 或 inf
- Weather entity 预报类型
- 使用 DataUpdateCoordinator 避免不必要的回调
- MQTT entities 命名变更为符合 HA 指南
- 翻译 services
- Vacuum entity 集成更新
- 自定义卡片的 Action 事件
- 服务调用描述过滤器
- Entity 命名变更
- Service Call API 变更
- 近期 MQTT 变更以提升整体性能
- Job:Home Assistant Core 开发者
- Statistics WebSocket API 变更
- Supervisor Add-ons 的新限制
- Deprecating Polymer
- Calendar best practices
- 翻译 entity 的 name 和 attributes
- 自定义 tile features
- 已移除 MQTT subscribe 的弃用 callback 签名
- 新增 snapshot testing 支持
- 重构 json helper 和 utility
- HassGetState intent
- 显示 sensor state 时使用的小数位数现在可配置
- 在 review 流程中引入 PR drafting
- 翻译文件已从 Core 仓库中移除
- Intent Responses 和 Whitespace
- Sensor entity 现在可以对数值进行 rounding
- 为 Conversation 集成做未来兼容设计
- Cover intents 已弃用
- 2023.2 及以后版本的 Bluetooth 更新
- 数据库 schema v32 更新
2022
- Multi-pan 暂时禁用
- 单位系统相关变更汇总
- Entity state 颜色变更
- 添加更多单位枚举器
- 翻译 entity 的 state
- 添加更多单位枚举器
- 长期统计 API 的变更
- 引入新的单位枚举器
- 添加新的降水强度单位
- 引入虚拟集成并区分 hub、device 和 service
- 代码所有者的 GitHub 命令
- 弃用 IMPERIAL_SYSTEM 单位系统及相关常量和属性
- 为 SelectEntityDescription 添加 options
- 长期统计现在跟踪源实体的单位
- 新的 sensor device classes
- 弃用单位转换工具
- 2022.10 的 Bluetooth async_track_unavailable API 变更
- 弃用 media player 常量
- Issue registry 已移至 homeassistant.helpers
- 全局可访问的 HomeAssistant 对象(hass)
- LightEntity 不再支持 white_value
- 2022.9 的 AutomationActionType 弃用
- 2022.9 的 Bluetooth passive sensor API 变更
- 2022.9 的 Device tracker 弃用
- 采用一种新的实体命名方式
- Store 现在是一个 Generic 类
- 等待 config entry platforms
- 重构 Weather entity 以支持单位转换
- 重构 Number entity 以支持单位转换
- 避免在 config entry 设置时重新加载
- 弃用 Data Entry Flow 常量
- 在 update coordinator 中支持 context
- Media Player 更新:enqueue 变更,添加 announce
- Logbook API 移除 entity_matches_only 标志
- 我们 Docker base images 上的 S6-Overlay 3.x 更新
- ServiceInfo model 改进和弃用
- 2022.5 的常量弃用
- TTS say service 使用 media source IDs
- 告别 time_changed 事件
- Calendar Data Model 改进和弃用
- Local OAuth2 更新
- 弃用所有 SUPPORT_* 常量
- 2022.4 中的开发者新功能
- 引入 update entity
- 选择支持手动移除设备
- Paper Elements 正在被移除
2021
- Device configuration URL 和 entity categories
- 新的 sensor state class:total
- Supervisor 更新
- 新 sensor state class:total_increasing
- 温度转换移至 SensorEntity
- 用于长期统计的新 sensor properties
- 升级到 Lit 2.0
- 用 python-dateutil 替换 pytz
- Astral 升级到 2.2 版本
- Custom integration 变更
2020
- System Health 和 Templates
- add-ons 即将发生的变更
- Lazy-loading more-info controls
- Lovelace:Custom View Layouts
- 运行 Home Assistant 时提升 Python 速度 40%
- Lovelace:getCardSize 现在可以是 async
- Entity class names
- Custom icon sets
- custom integrations 的 Logos
- Instance URL helper
- custom Lovelace 的 Translations
- custom components 的 Hassfest
- 我们 Docker 容器的 S6 Overlay
- Translations 2.0
- 0.106 中可能影响 custom cards 的变更
- Z-Wave integration 更新
2019
- Home Assistant 1.0 中的 Simple Mode
- Hacktoberfest 2019
- 采用 Black
- Building All The Things
- Climate Cleanup
- 物联网与现代 Web
- 介绍 Integrations
- 我能拥有用户权限吗?
- 伟大的迁移

