0.58: More translations, faster 前端, system log
由于 Pascal 这个周末要搬家,Hass.io 版 0.58 将推迟几天发布。
翻译更新
翻译工作已经全面提速。上一个版本发布后不久,我们就理顺了整套翻译流程。@armills 和 @c727 在这个项目上的管理工作做得非常出色。支持语言数量已经翻倍达到 42 种,需要翻译的条目也从 8 个增长到 130 个。翻译者们状态极佳,目前已经完成了 79% 的翻译。
说到翻译者,现在已经有 445 人注册账号参与翻译。三周能做到这样,相当不错!
而且,既然翻译越多越好,@robbiet480 还把 iOS App 加入了我们的翻译管理平台 Lokalise。目前 iOS App 已支持 7 种语言。
前端改进仍在继续
多亏了 @Andrey-git,我们现在可以用现代 JavaScript 提供前端资源了。使用现代 JavaScript 能让前端加载更快、运行更流畅。目前这是一个可选项,但未来我们打算把它变成默认启用。与此同时,面向旧设备的 ES5 前端版本也会继续保留。
如果你想先试试看,可以在 Home Assistant 书签后加上 ?latest。如果想让它成为你安装环境中的默认选项,请把配置改成下面这样:
:::important 对于 Custom UI 用户:你的自定义 UI 需要先完成更新,才能兼容新的前端版本。 :::
系统日志增强
显示错误日志的关于页面经过 @postlund 的改进后获得了一次漂亮升级。现在会展示最近 50 条异常,并提供查看更多信息的选项。
显示系统日志的关于页面截图。
新平台
- pyLoad download 传感器 (@iMarkus - #10089) (传感器.pyload docs) (new-platform)
- Add LaCrosse 传感器 platform (@hthiery - #10195) (传感器.lacrosse docs) (new-platform)
- Refactor Neato botvac components as a 吸尘器 (@jabesq - #9946) (neato docs) (传感器.neato docs) (开关.neato docs) (吸尘器.neato docs) (breaking change) (new-platform)
- Add platform and 传感器 for Vultr VPS (@GenericStudent - #9928) (vultr docs) (binary_sensor.vultr docs) (传感器.vultr docs) (new-platform)
- Adds support for Tile® 蓝牙 trackers (@bachya - #10478) (device_tracker.tile docs) (new-platform)
- Support 在场 detection using Hitron Coda router (@arilotter - #9682) (device_tracker.hitron_coda docs) (new-platform)
- Add basic 后端 support for a system 日志 (@postlund - #10492) (system_log docs) (new-platform)
- New 传感器 viaggiatreno. (@fabfurnari - #10522) (传感器.viaggiatreno docs) (new-platform)
发布 0.58.1 - November 21
- Fix yweather (@tinloaf - #10661)
- Properly initialize Harmony 遥控器 (@amelchio - #10665) (遥控器.harmony docs)
- Handle the new 版本 of HydroQuebec website (@titilambert - #10682)
- Fix for time_date 传感器 (@etsinko - #10694) (传感器.time_date docs)
- 前端 fixes (@andrey-git @armills @balloob)
如果你需要帮助……
……欢迎使用我们非常活跃的论坛,或者加入我们的聊天频道。虽然发布说明开放了评论,但我们更推荐你使用前面的社区交流渠道。谢谢。
反馈问题
如果你遇到了此次发布引入的问题,请在我们的 issue tracker 中反馈。请确保完整填写 issue 模板中的所有字段。
不向后兼容的变更
hass.states.is_state_attr(entity_id, attribute, value)has been removed. The 模板 版本 still exists. Unused method parameterwaithas been removed fromhass.bus.async_fire(@balloob - #10305) (breaking change)- Refactor Neato botvac components as a 吸尘器 (@jabesq - #9946) (neato docs) (开关.neato docs) (吸尘器.neato docs) (breaking change) (new-platform)
- Lutron released a firmware updated for the Caseta system which removed our ability to connect to and control the bridge 设备 over SSH, breaking compatibility with pylutron_caseta and Home Assistant. Component has been updated to work again, please see the docs on how to set it up. (@mdonoughe - #10286) (lutron_caseta docs) (breaking change)
全部变更
- Bump python-miio for improved 设备 support (@syssi - #10294) (灯光.xiaomi_miio docs) (开关.xiaomi_miio docs)
- pyLoad download 传感器 (@iMarkus - #10089) (传感器.pyload docs) (new-platform)
- Add LaCrosse 传感器 platform (@hthiery - #10195) (传感器.lacrosse docs) (new-platform)
- Clean up 核心 (@balloob - #10305) (breaking change)
- Refactor Neato botvac components as a 吸尘器 (@jabesq - #9946) (neato docs) (传感器.neato docs) (开关.neato docs) (吸尘器.neato docs) (breaking change) (new-platform)
- Move constants to 设置.py (@fabaff - #10312) (no_ip docs)
- Add option to overwrite file to the downloader component (@arsaboo - #10298) (downloader docs)
- Use constants for HTTP headers (@fabaff - #10313) (binary_sensor.aurora docs) (device_tracker.tplink docs) (device_tracker.upc_connect docs) (媒体播放器.bluesound docs) (传感器.haveibeenpwned docs) (传感器.zamg docs) (telegram_bot.polling docs)
- fix a import in test causing vs code to fail to discover (@perosb - #10358)
- 升级 sqlalchemy to 1.1.15 (@fabaff - #10330)
- Move counter component (@fabaff - #10332) (counter docs)
- Add platform and 传感器 for Vultr VPS (@GenericStudent - #9928) (vultr docs) (binary_sensor.vultr docs) (传感器.vultr docs) (new-platform)
- Add heal_node and test_node 服务. (@turbokongen - #10369) (zwave docs)
- Addition of new 二元sensor class 'plug' (@echox - #10336) (binary_sensor docs)
- Upgrae simplepush to 1.1.4 (@fabaff - #10365) (通知.simplepush docs)
- 更新 aiohttp to 2.3.1 (@pvizeli - #10139)
- 设备 model identification of the Xiaomi Philips Ceiling Lamp fixed. (@syssi - #10401) (灯光.xiaomi_miio docs)
- Zwave save cache to file now. (@turbokongen - #10381)
- Bump to 0.12.2 to fix urllib3 dependency (@MisterWil - #10420) (abode docs)
- Remove extra info from zwave 实体 状态 (@armills - #10413) (zwave docs)
- Fixes issue #10425 (@robmarkcole - #10426) (传感器.london_air docs)
- Add baudrate option to Serial 传感器 (@dgomes - #10439) (传感器.serial docs) (breaking change)
- Remove model info from 状态 (@balloob - #10399) (灯光.tradfri docs)
- 更新 tibber library (@danielhiversen - #10460) (传感器.tibber docs)
- 更新 pywebpush==1.3.0 (@perosb - #10374) (通知.html5 docs)
- Fix slow WOL 开关 test (@balloob - #10455)
- Fix recorder stop on SQLite vacuuming 错误 (@milanvo - #10405)
- Add include/exclude filter to mqtt_statestream (@mw-white - #10354) (mqtt_statestream docs)
- 升级 to 0.1.2 (@TopdRob - #10348) (通知.free_mobile docs)
- 升级 pyatv to 0.3.6 (@TopdRob - #10349) (apple_tv docs)
- Remove useless temp converting (@pvizeli - #10465) (温控.homematic docs)
- 升级 apns2 to 0.3.0 (@TopdRob - #10347) (通知.apns docs)
- Improvement of KNX 温控 component (@Julius2342 - #10388) (knx docs) (温控.knx docs)
- Updated gc100 package requirement to 1.0.3a (@davegravy - #10484) (gc100 docs)
- Remove lag from Harmony 遥控器 platform (@amelchio - #10218) (遥控器 docs) (遥控器.harmony docs)
- Improve 错误 handling. (@cgtobi - #10482) (influxdb docs)
- 升级 psutil to 5.4.1 (@fabaff - #10490) (传感器.systemmonitor docs)
- 升级 youtube_dl to 2017.11.06 (@fabaff - #10491) (media_extractor docs)
- Fix for telegram polling. (added pausing when 错误 occurs) (@sander76 - #10214) (telegram_bot.polling docs)
- add JSON processing capabilities to sensor_serial (@dgomes - #10476) (传感器.serial docs)
- 升级 to new pylutron_caseta with TLS (@mdonoughe - #10286) (lutron_caseta docs) (breaking change)
- Bump dev to 0.58.0.dev0 (@fabaff - #10510)
- OwnTracks Message Handling (@ehagan - #10489) (device_tracker.owntracks docs)
- Add support for Alexa intent slot synonyms. (@kmdm - #10469)
- Introduce media progress for Yamaha Musiccast 设备 (@jalmeroth - #10256) (媒体播放器.yamaha_musiccast docs)
- Add an option to serve ES6 JS to clients (@andrey-git - #10474)
- Adapt to new yarl API (@tinloaf - #10527) (tts.google docs)
- 更新 nederlandse_spoorwegen.py to include platform information (@hmmbob - #10494) (传感器.nederlandse_spoorwegen docs)
- Pin yarl (@tinloaf - #10528)
- Support 配置 of region (no 服务 url necessary (@molobrakos - #10513) (volvooncall docs)
- Fix import in tests (@andrey-git - #10525)
- 更新 axis.py (@Kane610 - #10412) (axis docs)
- Add 属性 to show who last un/set 报警 (SPC) (@mbrrg - #9906) (spc docs) (alarm_control_panel.spc docs) (binary_sensor.spc docs)
- Fixed Wink Quirky Aros bugs. (@w1ll1am23 - #10533) (温控.wink docs)
- Adds support for Tile® 蓝牙 trackers (@bachya - #10478) (device_tracker.tile docs) (new-platform)
- telegram_bot: Support for sending videos (@vickyg3 - #10470) (telegram_bot docs) (通知.telegram docs)
- Pre-construct 前端 index.html (@balloob - #10520)
- 通知.html5: use new json save and load functions (@perosb - #10416) (通知.html5 docs)
- Change to 设备 状态 属性 (@dgomes - #10536) (传感器.serial docs)
- Google Assistant request sync 服务 (@r4nd0mbr1ck - #10165)
- Optimize concurrent access to media player 图像 cache (@amelchio - #10345) (媒体播放器 docs)
- webostv: set current source correctly (@KapJI - #10548) (媒体播放器.webostv docs)
- 升级 pysnmp to 4.4.2 (@fabaff - #10539) (device_tracker.snmp docs) (传感器.snmp docs) (开关.snmp docs)
- Fix and clean lametric (@MartinHjelmare - #10391) (lametric docs) (通知.lametric docs)
- Support 在场 detection using Hitron Coda router (@arilotter - #9682) (device_tracker.hitron_coda docs) (new-platform)
- Better support for int types (@ziotibia81 - #10409) (传感器.modbus docs)
- Don't use the 'id' field since it can be autogenerated (fixes #10551). (@kmdm - #10554)
- pad packets to multiple of 4 characters (@SteveEdson - #10560) (开关.broadlink docs)
- Move temperature display 助手 from components to 助手 (@fabaff - #10555) (温控 docs) (天气 docs) (温控.eq3btsmart docs)
- webostv: Reduce default timeout to prevent 日志 spamming (@abmantis - #10564) (媒体播放器.webostv docs)
- Fix lametric sound (@MartinHjelmare - #10562) (lametric docs) (通知.lametric docs)
- Use a 模板 for the Universal media player 状态 (@azogue - #10395) (媒体播放器.universal docs)
- Verisure: Added option to set 安装 giid (@abjorshammar - #10504) (verisure docs)
- Bump ring_doorbell to 0.1.7 (@tchellomello - #10566) (ring docs)
- Add code to enable discovery for MQTT 遮盖 (@marthoc - #10580) (遮盖.MQTT docs)
- Google Assistant for 温控 实体: Support QUERY and respect system-wide unit_system setting. (@emosenkis - #10346)
- turn 服务 call handler into coroutine (@NovapaX - #10576) (configurator docs)
- Add basic 后端 support for a system 日志 (@postlund - #10492) (system_log docs) (new-platform)
- Tradfri unique identities (@NovapaX - #10414) (tradfri docs)
- Add 面板 build type (@balloob - #10589)
- Cloud updates (@balloob - #10567)
- 升级 youtube_dl to 2017.11.15 (@fabaff - #10592) (media_extractor docs)
- Fix Yahoo 天气 icons over SSL (@OnFreund - #10602)
- Arlo - Fixes for updated library (@jwillaz - #9892) (arlo docs) (摄像头.arlo docs) (传感器.arlo docs)
- Do not add 面板 from system_log (@postlund - #10600) (system_log docs)
- Fix ValueError exception (@ziotibia81 - #10596) (传感器.modbus docs)
- Fix Hikvision (motion) 开关 bug (@arsaboo - #10608) (开关.hikvisioncam docs)
- Allow unicode when dumping yaml (@andrey-git - #10607)
- Support 脚本 execution for Alexa (@micbase - #10517)
- bump client 版本 (@craigjmidwinter - #10610) (alarm_control_panel.totalconnect docs)
- New 传感器 viaggiatreno. (@fabfurnari - #10522) (传感器.viaggiatreno docs) (new-platform)
- Modbus 开关 register support (@ziotibia81 - #10563) (开关.modbus docs)
- 升级 mypy to 0.550 (@fabaff - #10591)
- Small fix to be able to use mac and vendor in "device_tracker_new_device" event. (@Boltgolt - #10537) (device_tracker docs)
- add support for color temperature and color to Google Assistant (@perosb - #10039)
- Cleanup old stale 恢复 feature (@pvizeli - #10593) (灯光 docs)
- Correct input_datetime initial value parsing (@colindunn - #10417) (input_datetime docs)
- Change generic thermostat to control heating on mode change Off -> Auto (@milanvo - #10601) (温控.generic_thermostat docs)
- Improve WUnderground config validation (@milanvo - #10573) (传感器.wunderground docs)
- 更新 hbmqtt to 0.9.1 (@masarliev - #10611)
- Allow to pass YandexTTS options via 服务 call (@andrey-git - #10578) (tts docs) (tts.yandextts docs)
- Snapcast: bump 版本 and enable reconnect. (@janLo - #10626) (媒体播放器.snapcast docs)
- Fix async missing decorators (@armills - #10628)
- Alexa slot synonym fix (@devspacenine - #10614)
- Adjust logging in downloader component (@amelchio - #10622) (downloader docs)
- Added sorted() to python_script (@etsinko - #10621) (python_script docs)
- Add loglinefetch for 前端 API call (@turbokongen - #10579)
- Fixes AirVisual bug regarding incorrect location data (@bachya - #10054) (传感器.airvisual docs)
- Make MQTT reconnection logic more resilient and fix race 条件 (@cezarsa - #10133) (MQTT docs)
- Alexa improvements (@robbiet480 - #10632)
- Print 实体 type in "too slow" 警告 (@andrey-git - #10641)
- Bump pyatv to 0.3.8 (@postlund - #10643) (apple_tv docs)
- Implement 实体 and domain exclude/include for Alexa (@robbiet480 - #10647)


