title: '0.65:重命名实体、全新过滤器传感器、UpCloud 与 Channels' description: '<a href=''/home-assistant/integrations/版本/0.65''<img src=''/home-assistant/images/blog/2018-03-0.65/components.png'' style=''border: 0;box-shadow: none;''</a。' 可过滤异常值或对数据应用其他过滤器,并带来更完善的 HomeKit 支持。
0.65:重命名实体、全新过滤器传感器、UpCloud 与 Channels
0.65 版本已经到来,而且真的非常棒。首先,如果你错过了之前的发布说明和公告:**从这个版本开始,Home Assistant 不再支持 Python 3.4。当前最低支持版本为 Python 3.5.3。**如果你使用 Hass.io 或 Docker,你会自动运行最新版本。如果你使用较旧的 Hassbian 安装,或自行配置了 Linux 环境,则需要升级到至少 Python 3.5.3。
命名实体
随着 0.63 引入实体注册表,Home Assistant 可以确保同一设备始终获得相同的实体 ID。本次发布更进一步,允许用户在前端直接修改设备名称。名称修改会立即生效,并覆盖集成为该设备提供的名称。如果你想切回集成提供的名称,只需将名称留空。
和实体注册表一样,这项功能目前仅适用于为实体提供唯一 ID 的集成。我们仍在持续为更多集成补齐这项能力。
全新的实体注册表设置页面实际效果。
过滤器传感器
@dgomes 带来了全新的 filter 传感器。这是一个二阶传感器,会读取某个传感器实体的数据并应用过滤器。初始实现包含 Low-pass、Outlier 和 Throttle 三种过滤器,未来还会继续增加。
图表同时展示了输入传感器与过滤器传感器的输出结果。
灯光分组
我们最近进行了一些讨论,发现当前的 group 组件限制较多。继续在现有基础上扩展可能会带来更多混乱,因此我们决定采用新方案:为特定组件设计专属分组。这个系列的第一个实现来自 @OttoWinter:灯光分组(文档)。
灯光分组会在 Home Assistant 中创建一个单独的灯光实体,用来表示一组灯光。所有命令都会被转发,状态则由组内全部灯光共同决定。
HomeKit
HomeKit 也迎来了更多升级。我们新增了对华氏温度传感器、报警系统、开关和温控器的支持。再经过几个版本,我们就能基本覆盖全部主要类型。
Conversation 组件的可选词
conversation component 一直是体验语音控制家庭的绝佳入门方式。它没有热词检测或强大的语言引擎,但足以让你感受到语音交互的潜力。从这个版本开始,它通过“可选词”功能变得更强。要把某个词标记为可选,请用方括号包裹,例如:Change the light to [the color] {color}。
通过 conversation 组件与 Home Assistant 进行对话。
新平台
- 新增 Synology Chat 通知平台 (@cmsimike - #12596) (通知.synology_chat docs) (new-platform)
- KNX Component: 场景 support and expose 传感器 values (@Julius2342 - #11978) (knx docs) (场景 docs) (binary_sensor.knx docs) (new-platform)
- Adds simulated 传感器 (@robmarkcole - #12539) (传感器.simulated docs) (new-platform)
- 新增 Songpal(“Sony Audio Control API”)平台 (@rytilahti - #12143) (媒体播放器.songpal docs) (new-platform)
- 新增 UpCloud 平台 (@scop - #12011) (upcloud docs) (binary_sensor.upcloud docs) (开关.upcloud docs) (new-platform)
- 新增 Sense 能源监测传感器 (@kbickar - #11580) (传感器.sense docs) (new-platform)
- 新增过滤器传感器 (@dgomes - #12650) (传感器.filter docs) (new-platform)
- 新增
灯光.group平台 (@OttoWinter - #12229) (灯光.group docs) (new-platform) - Egardia redesign - generic component and 传感器 support (@jeroenterheerdt - #11994) (egardia docs) (alarm_control_panel.egardia docs) (binary_sensor.egardia docs) (breaking change) (new-platform)
- 新增 Zillow Zestimate 传感器支持 (@jcconnell - #12597) (传感器.zestimate docs) (new-platform)
- 新增 Channels 媒体播放器组件 (@maddox - #12937) (媒体播放器.channels docs) (new-platform)
- HomeKit 新增对报警系统、开关和温控器的支持 (@maxclaey - #12819) (homekit docs) (new-platform)
- 新增摄像头代理 (@PhracturedBlue - #12006) (摄像头.proxy docs) (new-platform)
发布 0.65.1 - March 10
- allow ios 设备 tracker see calls to go through (@balloob - #13020) (device_tracker docs)
- Fix config component loading YAML (@kellerza - #13024)
- Make Throttle async aware (@balloob - #13027)
- Add support for input boolean to Google Assistant (@balloob - #13030) (google_assistant docs)
- HomeKit Bugfix: names (@cdce8p - #13031) (homekit docs)
发布 0.65.2 - March 10
- Fix translations sometimes not loading in the 前端 (@armills)
- Fix sensibo's min/max_temp properties (@jra3 - #12996) (温控.sensibo docs)
- Use request.query (@ptarjan - #13037) (wink docs)
- Ensure we have valid config AFTER merging packages #13015 (@kellerza - #13038)
- Bump pysabnzbd 版本 (@jeradM - #13042) (传感器.sabnzbd docs)
- Fix async lifx_set_state (@amelchio - #13045) (灯光.lifx docs)
- Yeelight 版本 bumped. (@syssi - #13056) (灯光.yeelight docs)
- Don't call async from sync (@balloob - #13057) (xiaomi_aqara docs)
- Convert decimals from SQL results (@balloob - #13059) (传感器.sql docs)
发布 0.65.3 - March 11
- Implement Hue available property (@balloob - #12939) (灯光.hue docs)
- Catch async from sync context by running asyncio event loop in 调试 mode during tests (@balloob - #13058) (摄像头.arlo docs) (温控.generic_thermostat docs)
- Fixes KNX fire event problem, issue https://github.com/home-assistant/home-assistant/issues/13049 (@Julius2342 - #13062) (knx docs)
- Bump iGlo 版本 (@jesserockz - #13063) (灯光.iglo docs)
- Fix Tado doing async wrong (@balloob - #13078) (device_tracker.tado docs)
- Synology 摄像头: auto-renew session when it's expired (@snjoetw - #13079) (摄像头.synology docs)
- Revert "Cast automatically drop connection (#12635)" (@OttoWinter - #13094) (媒体播放器.cast docs)
- Bump pyvera to 0.2.42. Improve event loop robustness. (@pavoni - #13095) (vera docs)
- Fix Kodi by updateding jsonrpc-websocket to 0.6 (@Tadly - #13096) (媒体播放器.kodi docs)
发布 0.65.4 - March 12
- Fix unavailable property for wemo 开关 (@balloob - #13106) (开关.wemo docs)
- Hue: Catch if bridge goes unavailable (@balloob - #13109) (hue docs) (灯光.hue docs)
- Adding check for empty discovery info in 报警 control 面板 Egardia. (@jeroenterheerdt - #13114) (alarm_control_panel.egardia docs)
- Throttle Arlo api calls (@arsaboo - #13143) (arlo docs)
发布 0.65.5 - March 14
- Bugfix HomeKit: 错误 string values for temperature (@cdce8p - #13162) (homekit docs)
- Revert throttle Arlo api calls (@arsaboo - #13174) (arlo docs)
- Ignore unsupported Sonos favorites (@amelchio - #13195) (媒体播放器.sonos docs)
- Avoid Sonos 错误 when joining with self (@amelchio - #13196) (媒体播放器.sonos docs)
- Fix input_boolean Google Assistant serialize 错误 (@balloob - #13220) (google_assistant docs)
发布 0.65.6 - March 21
- More robust MJPEG parser. Fixes #13138. (@PhracturedBlue - #13226) (摄像头.proxy docs)
- Tado: don't reference unset hass var (@balloob - #13237) (device_tracker docs)
- Fix Sonos join/unjoin in 脚本 (@amelchio - #13248) (媒体播放器.sonos docs)
- Fix Sonos radio stations with ampersand (@amelchio - #13293) (媒体播放器.sonos docs)
- Do not include unavailable 实体 in Google Assistant SYNC (@balloob - #13358) (google_assistant docs) (灯光 docs)
如果你需要帮助……
……欢迎随时使用我们非常活跃的论坛,或加入我们的 chat 交流。发布说明虽然开放评论,但我们更推荐你使用前面的沟通渠道。谢谢。
报告问题
如果你遇到了由此版本引入的问题,请在我们的 issue tracker 中反馈,并确保完整填写 issue 模板中的所有字段。
不向后兼容的变更
- Insteon PLM:如果你曾在
configuration.yaml中创建平台覆盖规则,把 INSTEON 设备映射到其他 Home Assistant 平台,这类映射现在将不再生效。请查看 insteon_plm 文档 中新的设备覆盖能力。(@teharris1 - #12534) (insteon_plm docs) (binary_sensor.insteon_plm docs) (风扇.insteon_plm docs) (灯光.insteon_plm docs) (传感器.insteon_plm docs) (开关.insteon_plm docs) (breaking change) - AirVisual 的空气指数单位是 AQI(空气质量指数),而不是 PSI(磅/平方英寸)。(@chilicheech - #12730) (传感器.airvisual docs) (breaking change)
- TekSavvy 传感器:峰值上传用量的实体 ID 过去是
sensor.teksavvy_on_peak_upload_,现在改为sensor.teksavvy_on_peak_upload。同时,由于usage标题同时用于 GB 和百分比用量,含义不明确,因此百分比用量的实体 ID 改为sensor.teksavvy_usage_ratio。(@mikeodr - #12325) (breaking change) - Egardia redesign - generic component and 传感器 support (@jeroenterheerdt - #11994) (egardia docs) (alarm_control_panel.egardia docs) (binary_sensor.egardia docs) (breaking change) (new-platform)
- Pollen 集成中的
zip_code现在必须加上引号,以避免意外错误:zip_code: "00544"。(@bachya - #12934) (传感器.pollen docs) (breaking change) - Google Assistant 集成:现在不能再覆盖 Home Assistant 为某个实体使用的 domain 了,因为这会在我们针对不同 domain 检测支持特性时带来问题。同时也移除了把温度传感器伪装成温控器的支持。我们应当遵循 Google 提供的 trait,而不是提供那些只能半工作状态的能力。(@balloob - #12959) (google_assistant docs) (灯光 docs) (breaking change)
- LimitlessLED 的白光色温范围已调整,现在在相同 Kelvin 数值下应与 Mi Light 手机应用保持一致。(@amelchio - #12971) (灯光.limitlessled docs) (breaking change)
所有变更
- 你好,Python 3.5 (@balloob - #12610)
- Fix CODEOWNERS permissions (@OttoWinter - #12621)
- Xiaomi Aqara Gateway: 服务 descriptions added (@syssi - #12631)
- Removing asyncio.coroutine syntax from some components (@Julius2342 - #12507)
- Allow renaming 实体 in 实体 registry (@balloob - #12636) (config docs)
- Check if $files is empty, don't try to execute it (@armills - #12651)
- Removed py34 (@cdce8p - #12648)
- Improved Homekit tests (@cdce8p - #12647) (homekit docs)
- Removing asyncio.coroutine syntax from HASS 核心 (@Julius2342 - #12509)
- Synology Chat as a 通知 platform (@cmsimike - #12596) (通知.synology_chat docs) (new-platform)
- Enable pytradfri during build, and include in Docker (@lwis - #12662)
- 升级 insteonplm to 0.8.2 (required refactoring) (@teharris1 - #12534) (insteon_plm docs) (binary_sensor.insteon_plm docs) (风扇.insteon_plm docs) (灯光.insteon_plm docs) (传感器.insteon_plm docs) (开关.insteon_plm docs) (breaking change)
- Homekit 更新, Support for TempSensor (°F) (@cdce8p - #12676) (homekit docs)
- Fix formatting of minutes for sleep start in the fitbit 传感器 (@awkwardDuck - #12664) (传感器.fitbit docs)
- KNX Component: 场景 support and expose 传感器 values (@Julius2342 - #11978) (knx docs) (场景 docs) (binary_sensor.knx docs) (new-platform)
- Added config validator for future group platforms (@cdce8p - #12592)
- Adds simulated 传感器 (@robmarkcole - #12539) (传感器.simulated docs) (new-platform)
- Add history_graph component to demo (@balloob - #12681) (demo docs)
- Next generation of Xiaomi Aqara 设备 added (@syssi - #12659) (xiaomi_aqara docs) (开关.xiaomi_aqara docs)
- Fix homekit: temperature calculation (@cdce8p - #12720) (homekit docs)
- AsusWRT 日志 exceptions (@kellerza - #12668) (device_tracker.asuswrt docs)
- Homekit schema gracefully fail with integer (@kellerza - #12725) (homekit docs)
- 更新 核心 HSV color scaling to standard scales: (@armills - #12649) (灯光.hue docs) (灯光.lifx docs)
- correct air index unit (@chilicheech - #12730) (传感器.airvisual docs) (breaking change)
- Remove automatic sqlite 吸尘器 (@amelchio - #12728)
- Disable asuswrt tests (@armills - #12663)
- Fix Citybikes naming (@aronsky - #12661) (传感器.citybikes docs)
- Xiaomi MiIO 灯光: Flag the 设备 as unavailable if not reachable (@syssi - #12449) (灯光.xiaomi_miio docs)
- Check_config await 错误 (@kellerza - #12722)
- Add Songpal ("Sony Audio Control API") platform (@rytilahti - #12143) (媒体播放器.songpal docs) (new-platform)
- Quote 服务.yaml string (@amelchio - #12763)
- Intent: Set 灯光 color (@balloob - #12633) (灯光 docs)
- 更新 Yi platform to make use of async/await (@bachya - #12713) (摄像头.yi docs)
- Add custom header support for rest_command (@doctorjames - #12646) (rest_command docs)
- Round humidity for display purposes (@PhilRW - #12766) (温控 docs) (天气 docs) (温控.wink docs) (天气.darksky docs)
- Xiaomi MiIO 吸尘器: Use a unique data key per domain (@syssi - #12743) (吸尘器.xiaomi_miio docs)
- Add UpCloud platform (@scop - #12011) (upcloud docs) (binary_sensor.upcloud docs) (开关.upcloud docs) (new-platform)
- Add Unit System Option For Fitbit (@bertbert72 - #11817) (传感器.fitbit docs)
- Add '门锁' 设备 class (@swilson - #11640) (binary_sensor docs)
- Bump 前端 to 20180228.1 (@balloob - #12786) (前端 docs)
- Fix when 2 状态 match with same name (@balloob - #12771)
- MQTT Static Typing (@OttoWinter - #12433) (MQTT docs)
- Add "headers" config parameter to rest 开关 (@mfrueh - #12706) (开关.rest docs)
- Added Sense energy monitor 传感器 (@kbickar - #11580) (传感器.sense docs) (new-platform)
- TekSavvy 传感器 unlimited bandwidth support (@mikeodr - #12325) (breaking change)
- iCloud location tracking improvements (@reedriley - #12399) (device_tracker.icloud docs)
- Support serving of 后端 translations (@armills - #12453) (前端 docs)
- Translation cleanup (@armills - #12804)
- Take ownership of Emby, Eight Sleep, Hikvision (@mezz64 - #12803)
- Bump pyHik 版本, digest auth, more 设备 support (@mezz64 - #12801) (binary_sensor.hikvision docs)
- Only run deploy from lint branch (@armills - #12805)
- Add optional words to conversation utterances (@balloob - #12772) (conversation docs)
- Changed default from
alltochanged(@cdce8p - #12660) - Fix flakiness in tests (@balloob - #12806)
- Tibber: retry if we fail to connect at startup (@danielhiversen - #12620) (传感器.tibber docs)
- Cast Python Async Await Syntax (@OttoWinter - #12816) (媒体播放器.cast docs)
- Filter 传感器 (@dgomes - #12650) (传感器.filter docs) (new-platform)
- MQTT Python 3.5 Async Await Syntax (@OttoWinter - #12815) (MQTT docs)
- Improved Homekit tests (@cdce8p - #12800) (homekit docs)
- Add 灯光.group platform (@OttoWinter - #12229) (灯光.group docs) (new-platform)
- Add icons to Xiaomi Aqara 传感器 (@thijsdejong - #12814) (传感器.xiaomi_aqara docs)
- Egardia redesign - generic component and 传感器 support (@jeroenterheerdt - #11994) (egardia docs) (alarm_control_panel.egardia docs) (binary_sensor.egardia docs) (breaking change) (new-platform)
- Skip flaky 灯光.group test [skipci] (@balloob - #12847)
- 更新 volvooncall.py (@danielhiversen - #12834) (开关.volvooncall docs)
- Address upcloud post-merge comments (#12011) (@scop - #12835) (upcloud docs) (binary_sensor.upcloud docs) (开关.upcloud docs)
- Keep auto groups during group 重载 (@amelchio - #12841) (group docs)
- PyXiaomiGateway 版本 bumped. (@syssi - #12828) (xiaomi_aqara docs)
- Fix 灯光 group 更新 before add (@OttoWinter - #12844) (灯光.group docs)
- IndexError (list index out of range) fixed. (@syssi - #12858) (传感器.xiaomi_aqara docs)
- Fix dead Sonos web interface even more (@amelchio - #12851) (媒体播放器.sonos docs)
- Updated to use latest ihcsdk 版本 (@dingusdk - #12865) (ihc docs)
- Add unique id for Tibber 传感器 (@danielhiversen - #12864) (传感器.tibber docs)
- Add support for Zillow Zestimate 传感器 (@jcconnell - #12597) (传感器.zestimate docs) (new-platform)
- Grammar fix 'an unique' (@amelchio - #12870)
- Add SQL index to 状态.event_id (@amelchio - #12825)
- Optimize logbook SQL query (@amelchio - #12881) (logbook docs)
- await syntax knx 场景 (@Julius2342 - #12879) (场景 docs)
- Fix 0 value when home-assistant restarts (@bokub - #12874) (传感器.history_stats docs)
- Fix aggressive scan intervals (@balloob - #12885) (alarm_control_panel.concord232 docs) (binary_sensor.concord232 docs) (传感器.folder docs) (传感器.simulated docs)
- Fix interaction with hyperion on NodeMCU (@a-andre - #12872) (灯光.hyperion docs)
- Add the Gamerscore and Tier of the account (@kevintuhumury - #12867) (传感器.xbox_live docs)
- Improve influxdb throughput (@amelchio - #12882) (influxdb docs)
- Add config flow for Hue (@balloob - #12830) (config docs) (hue docs)
- Fix issue with guest August 门锁 being included (@snjoetw - #12893) (august docs)
- 升级 to py-canary 0.4.1 (@snjoetw - #12894) (canary docs)
- 更新 html5 to async/await (@perosb - #12895) (通知.html5 docs)
- Adding additional 开关 and 传感器 for Tesla (@alandtse - #12241) (device_tracker.tesla docs) (传感器.tesla docs) (开关.tesla docs)
- Additional radio schemes for sonos (@amelchio - #12886) (媒体播放器.sonos docs)
- Fix Edimax new firmware auth 错误 and move to pyedimax fork (@andreipop2005 - #12873) (开关.edimax docs)
- InfluxDB cleanups (@amelchio - #12903) (influxdb docs)
- Fix for moisture 传感器 in isy994 (@thejta - #12734) (binary_sensor.isy994 docs)
- Apple TV should return all supported features (@lucasweb78 - #12167) (媒体播放器.apple_tv docs)
- Remove dynamic controls from sonos (@amelchio - #12908) (媒体播放器.sonos docs)
- Fix async method call in sync context (@balloob - #12890) (device_tracker.icloud docs)
- 更新 html5 to async/await tests (@perosb - #12896)
- Fixing small naming bug (@ebfio - #12911) (传感器.serial_pm docs)
- Tibber: Check if the current electricity price is available before we… (@danielhiversen - #12905) (传感器.tibber docs)
- Add empty unit to systemmonitor load averages (@DanNixon - #12900) (传感器.systemmonitor docs)
- 更新 通知 html5 dependencies (@perosb - #12898) (通知.html5 docs)
- Xiaomi MiIO 遥控器: Lazy discover disabled (@syssi - #12710) (遥控器.xiaomi_miio docs)
- Xiaomi MiIO 开关: Allow unavailable 设备 at startup by model setting (@syssi - #12626) (开关.xiaomi_miio docs)
- 更新 python-coinbase to 2.1.0 (@balloob - #12925) (coinbase docs)
- Remove unused cloud APIs (@balloob - #12913) (cloud docs)
- 升级 to aiohttp 3 (@balloob - #12921) (api docs) (http docs) (shopping_list docs)
- Flaky tests (@balloob - #12931)
- Addresses issues with Pollen.com API troubles (@bachya - #12930) (传感器.pollen docs)
- Set supported features based on capabilities of 设备 (@maxclaey - #12922) (温控.nest docs)
- Bumped (minor) 版本 of xknx within knx-component. This fixes a bug with inverted percentage within 传感器. (@Julius2342 - #12929) (knx docs) (灯光.knx docs)
- Added checks for empty replies from REST calls and supporting tests (@nickovs - #12904) (传感器.rest docs)
- Reinstate our old virtual env check in favor of pip (@balloob - #12932)
- Support for queries with no results (fix for #12856) (@dgomes - #12888) (传感器.sql docs)
- Fix netatmo 传感器 警告 from invalid Voluptuous default (@amelchio - #12933) (传感器.netatmo docs)
- Updated to enforce quoted ZIP codes for Pollen (@bachya - #12934) (传感器.pollen docs) (breaking change)
- Added support for multiple onvif profiles (@karlkar - #11651) (摄像头.onvif docs)
- Make ubus dhcp name resolution optional (@rmounce - #12658) (device_tracker.ubus docs)
- Add add_devices back to rpi_camera (@feanor12 - #12947) (摄像头.rpi_camera docs)
- Remove weird tests (@balloob - #12936)
- optional displaying the 传感器 location on the map (@c7h - #12375) (传感器.luftdaten docs)
- [SQL 传感器] partial revert of #12452 (@dgomes - #12956) (传感器.sql docs)
- Fix LIFX color conversions (@amelchio - #12957) (灯光.lifx docs)
- BugFix Popp strike 门锁 not discovered in homeassistant. (@turbokongen - #12951) (zwave docs)
- Add a Media Player Component for Channels (@maddox - #12937) (媒体播放器.channels docs) (new-platform)
- Telegram_bot three platform support proxy_url and proxy_params (@crhan - #12878) (telegram_bot.broadcast docs) (telegram_bot.polling docs) (telegram_bot.webhooks docs)
- Add support for 报警 system, 开关 and thermostat to homekit (@maxclaey - #12819) (homekit docs) (new-platform)
- Pin lokalise 脚本 to working 版本 (@armills - #12965)
- Hue: Don't change brightness when changing just color (@balloob - #12940) (灯光.hue docs)
- LIFX async/await conversion (@amelchio - #12973) (灯光.lifx docs)
- IMAP 传感器 async/await conversion (@amelchio - #12988) (传感器.imap docs)
- Refactor Google Assistant (@balloob - #12959) (google_assistant docs) (灯光 docs) (breaking change)
- Bump pyEmby 版本 to support aiohttp => 3 (@mezz64 - #12986) (媒体播放器.emby docs)
- 更新 pyalarmdotcom 版本 (@koolsb - #12987)
- Show the 错误 message when Zabbix fails to 日志 in (@cyberjacob - #12985) (zabbix docs)
- 脚本/gen_requirements: Ignore package families (@cdce8p - #12963)
- Fix Sonos group discovery (@amelchio - #12970) (媒体播放器.sonos docs)
- Check color temp range for google assistant (@balloob - #12994) (google_assistant docs)
- Fix limitlessled color temperature (@amelchio - #12971) (灯光.limitlessled docs) (breaking change)
- Fixes 通知.html5 for 通知 on FireFox (@corneyl - #12993) (通知.html5 docs)
- Move HomeAssistantView to separate file. Convert http to async syntax. [skip ci] (@fanthos - #12982) (http docs)
- Get zha 开关 and binary_sensor 状态 on startup (@SteveEasley - #11672) (zha docs) (binary_sensor.zha docs) (灯光.zha docs) (开关.zha docs)
- Add 摄像头 proxy (@PhracturedBlue - #12006) (摄像头.proxy docs) (new-platform)
- check_config 脚本 evolution (@kellerza - #12792)
- Plex mark 设备 unavailable if they 'vanish' and clear media (@ryanm101 - #12811) (媒体播放器.plex docs)
- Add consider_home and source_type to device_tracker.see 服务 (@mueslo - #12849) (device_tracker docs)
- Clean up 灯光 Groups (@OttoWinter - #12962) (灯光.group docs)
- Updated to plexapi 3.0.6 (@ryanm101 - #13005) (媒体播放器.plex docs) (传感器.plex docs)


