Home Assistant 0.45: Automation editor, Z-Wave panel, OCR
欢迎来到 Home Assistant 又一次精彩发布!虽然一些贡献者和用户此时正齐聚 PyCon US 2017,我们仍然带来了一次相当出色的版本更新。
本次发布的第一个亮点,是许多人一直在期待的功能:自动化编辑器。它目前仍处于实验阶段,很多内容还在持续完善中,但已经可以使用。你现在可以创建新的自动化,也可以编辑现有自动化。如果你是从全新配置开始,那已经可以直接使用;否则,请先查看这些说明,让你的自动化做好在 UI 中编辑的准备。
想看看新版本的实际效果,可以观看来自 BRUHautomation 的 Ben 制作的这个视频。
由于编辑器仍是实验功能,目前还有一些限制。现在仅支持 Chrome 和 Chromium,并不是所有触发器和动作都已支持,条件也暂时还不支持。不过基础已经搭好了,所以如果你想参与贡献,非常欢迎加入。
在 Z-Wave 方面,这次也有很多进展。最大的更新来自 @turbokongen 对 Z-Wave 面板的大幅扩展。你现在可以直接修改配置参数并管理自己的设备。
如果你在 Open Z-Wave 的 options.xml 中设置了安全密钥,请把 options.xml 复制到 Home Assistant 配置目录中。只有保存在这里的选项才会被持久化。
此外,@armills 还主导了相关工作,为 Z-Wave 实现了完整的测试覆盖。感谢所有辛苦付出。
本次发布还带来了两个能让非智能设备稍微“聪明”一些的集成:file 传感器 和 seven_segments OCR 图像处理平台。前者可以直接读取由日志程序或类似工具生成的纯文本文件;后者则能从包含七段数码管显示的截图中提取数值。
最后,我们的 Docker 镜像现在已经基于 Python 3.6。这个版本比 Python 3.5 更快,占用内存也更少,确实很棒。
如果你正在使用我们的实验性 Hass.io 镜像,那么这次在面板服务方式上有一项破坏性变更。如果你已经有现有安装,请务必先把 supervisor 更新到最新版本,再升级 Home Assistant。如果你打算重新刷入新的 Hass.io 镜像,请确保只使用安装页面中提供的全新 0.8 镜像。
新集成
- 新增 raspihats 组件 (@florincosta - #7392) (raspihats docs) (new-platform)
- 新增 Datadog 组件 (@nunofgs - #7158) (datadog docs) (new-platform)
- 新增自动化配置面板支持 (@balloob - #7509) (config.自动化 docs) (new-platform)
- 新增 Z-Wave 面板 API (@turbokongen - #7456) (zwave docs) (zwave.api docs) (new-platform)
- 新增 myStrom 按钮支持 (@fabaff - #7099) (binary_sensor.mystrom docs) (new-platform)
- 新增 PiFace Digital I/O 模块支持 (@basschipper - #7494) (rpi_pfio docs) (binary_sensor.rpi_pfio docs) (开关.rpi_pfio docs) (new-platform)
- 新增 raspihats 二元传感器 (@florincosta - #7508) (binary_sensor.raspihats docs) (new-platform)
- 新增 Lutron Serena 窗帘支持 (@gurumitts - #7565) (lutron_caseta docs) (遮盖.lutron_caseta docs) (new-platform)
- 在传感器和遥控器平台新增 Kira 组件 (@stu-gott - #7479) (kira docs) (遥控器.kira docs) (传感器.kira docs) (new-platform)
- 新增 File 传感器 (@fabaff - #7569) (传感器.file docs) (new-platform)
- 新增 Seven segments OCR 图像处理平台 (@fabaff - #7632) (image_processing.seven_segments docs) (new-platform)
- 新增 Axis 组件 (@Kane610 - #7381) (axis docs) (new-platform)
发布 0.45.1 - May 22
- Fix telegram chats (@azogue - #7689) (通知.telegram docs) (telegram_bot docs)
- Fix playback control of web streams (@cgtobi - #7683) (媒体播放器.volumio docs)
- device_tracker.ubus: Handle empty results (@tobygray - #7673) (device_tracker.ubus docs)
- Allow fetching hass.io 面板 without auth (@balloob - #7714) (hassio docs)
如果你需要帮助
欢迎使用我们非常活跃的 论坛,或者加入聊天频道 discord。发布说明虽然也开放评论,但我们更推荐你使用前面的沟通渠道。谢谢。
反馈问题
如果你遇到了这次发布引入的问题,请到我们的 问题追踪器 提交反馈,并确保填写问题模板中的所有字段。
不向后兼容的变更
- PyPI Openzwave (@JshWright - #7415) (zwave docs) (breaking change)
- Remove listening to
homeassistant_startwith event 自动化 (@balloob - #7474) (自动化.event docs) (breaking change)
All changes
- Add hass to rfxtrx object (@danielhiversen - #6844)
- Add new raspihats component (@florincosta - #7392) (raspihats docs) (new-platform)
- 传感器.envirophat: add missing requirement (@imrehg - #7451) (传感器.envirophat docs)
- PyPI Openzwave (@JshWright - #7415) (zwave docs) (breaking change)
- Add datadog component (@nunofgs - #7158)
- Add tests for deprecation 助手 (@armills - #7452)
- Forecasts for 天气 underground (@pezinek - #7062) (传感器.wunderground docs)
- 传感器.envirophat: add missing requirement (@imrehg - #7451) (传感器.envirophat docs)
- 开关 russound, pymysensors, and pocketcasts to pypi (@andrey-git - #7449)
- 升级 pymysensors to 0.10.0 (@MartinHjelmare - #7469)
- 升级 Dockerfile to Python 3.6 (@balloob - #7471)
- Test only dependencies (@balloob - #7472)
- 更新 to pyunifi 2.12 (@finish06 - #7468) (device_tracker.unifi docs)
- Remove listening to homeassistant_start with event 自动化 (@balloob - #7474) (自动化.event docs) (breaking change)
- Fix plant MIN_TEMPERATURE, MAX_TEMPERATURE validation (@frog32 - #7476) (plant docs)
- Forecasts for 天气 underground (@pezinek - #7062) (传感器.wunderground docs)
- 升级 pymysensors to 0.10.0 (@MartinHjelmare - #7469)
- Fix plant MIN_TEMPERATURE, MAX_TEMPERATURE validation (@frog32 - #7476) (plant docs)
- 更新 to pyunifi 2.12 (@finish06 - #7468) (device_tracker.unifi docs)
- Uses pypi for deps (@gurumitts - #7485) (lutron_caseta docs)
- 0.44.2 (@balloob - #7488)
- LIFX: avoid out-of-bounds hue aborting the colorloop effect (@amelchio - #7495)
- 升级 async_timeout to 1.2.1 (@fabaff - #7490)
- Prevent printing of packets. (@aequitas - #7492) (rflink docs)
- 升级 beautifulsoup4 to 4.6.0 (@fabaff - #7491) (传感器.scrape docs)
- 开关 onkyo to pypi (@andrey-git - #7497) (媒体播放器.onkyo docs)
- Fixed potential AttributeError when checking for deleted sources (@scarface-4711 - #7502) (媒体播放器.denonavr docs)
- Refactor sun component for correctness (@armills - #7295)
- new source only forces "play" if the current 状态 is "playing" (@abmantis - #7506) (媒体播放器.spotify docs)
- Correct retrieval of spotify shuffle 状态 (@andersonshatch - #7505) (媒体播放器.spotify docs)
- Fix sonos sleep timer (@frog32 - #7503) (媒体播放器.sonos docs)
- Add support for 自动化 config 面板 (@balloob - #7509) ([自动化 docs]) (config.自动化 docs) (config docs) (new-platform)
- Zwave 面板 api (@turbokongen - #7456) (zwave docs) (zwave.api docs) (new-platform)
- 更新 Docker dev environment to python3.6 (@frog32 - #7520)
- 开关 basicmodem and python-roku to pypi (@andrey-git - #7514) (媒体播放器.roku docs) (传感器.modem_callerid docs)
- 传感器.envirophat: do not set up platform if hardware is not attached (@imrehg - #7438) (传感器.envirophat docs)
- Telegram Bot enhancements with callback queries and new 通知 服务 (@azogue - #7454) (telegram_bot docs) (通知.telegram docs) (telegram_bot.polling docs) (telegram_bot.服务.yaml docs) (telegram_bot.webhooks docs)
- Add 密码 parameter to uvc component (@nunofgs - #7499) (摄像头.uvc docs)
- Don't interact with hass directly (@fabaff - #7099) (binary_sensor.mystrom docs) (new-platform)
- Support for the PiFace Digital I/O module (@basschipper - #7494) (rpi_pfio docs) (binary_sensor.rpi_pfio docs) (开关.rpi_pfio docs) (new-platform)
- 升级 limitlessled to 1.0.7 (@corneyl - #7525) (灯光.limitlessled docs)
- 更新 docstrings and 日志 messages (@fabaff - #7526) (灯光.blinksticklight docs) (灯光.enocean docs) (灯光.flux_led docs) (灯光.insteon_local docs) (灯光.insteon_plm docs) (灯光.isy994 docs) (灯光.limitlessled docs) (灯光.mystrom docs)
- Try to request current_location Automatic scope (@armills - #7447)
- Add myStrom 二元sensor (@fabaff - #7530)
- Add not-context-manager (@fabaff - #7523)
- Threadsafe configurator (@Kane610 - #7536) (configurator docs)
- Fix for #7459 (@deftdawg - #7544) (alexa docs)
- 升级 sendgrid to 4.1.0 (@fabaff - #7538) (通知.sendgrid docs)
- Automatic 版本 bump (@armills - #7555)
- 升级 dweepy to 0.3.0 (@fabaff - #7550) (dweet docs) (传感器.dweet docs)
- Add SSL support to NZBGet 传感器 (@tboyce021 - #7553) (传感器.nzbget docs)
- Do not 安装 all dependencies in dev mode (@balloob - #7548)
- Hide proximity updates in logbook (@armills - #7549) (logbook docs)
- Only 安装 tox in dev mode (@balloob - #7557)
- Support adding different server locations for Microsoft face component (@tsvi - #7532) (microsoft_face docs)
- Treat swing and 风扇 level as optional in Sensibo 温控. (@andrey-git - #7560) (温控.sensibo docs)
- LIFX: add lifx_set_state 服务 call (@amelchio - #7552) (灯光.lifx docs)
- Add raspihats 二元sensor (@florincosta - #7508) (binary_sensor.raspihats docs) (new-platform)
- 更新 pywebpush to 1.0.0 (@perosb - #7561) (通知.html5 docs)
- Initialize sun with correct values. (@aequitas - #7559) (sun docs)
- Comment RasPi specific requirements (@Juggels - #7562) (传感器.envirophat docs)
- 更新 netdisco (@balloob - #7563)
- Support lutron serena shades (@gurumitts - #7565) (lutron_caseta docs) (遮盖.lutron_caseta docs) (new-platform)
- Tests for zwave discovery logic (@armills - #7566)
- Tests for zwave 设置 features (@armills - #7570)
- Blink 版本 bump (@fronzbot - #7571) (blink docs) (传感器.blink docs)
- Fix systematic 警告 in influxdb 传感器 (@bestlibre - #7541) (传感器.influxdb docs)
- Fix Kodi specific 服务 registry and add descriptions (@azogue - #7551) (媒体播放器.kodi docs)
- Add Kira component to 传感器 and 遥控器 platforms (@stu-gott - #7479) (kira docs) (遥控器.kira docs) (传感器.kira docs) (new-platform)
- Add tests for zwave network events (@armills - #7573)
- Additional Wink 门锁 features (@w1ll1am23 - #7445)
- Websocket_api: avoid parallel drain (@balloob - #7576) (websocket_api docs)
- Remove more test requirements (@balloob - #7574)
- 摄像头.zoneminder: Handle old versions of zoneminder (@mnoorenberghe - #7589) (摄像头.zoneminder docs)
- Pass additional arguments to tox in test_docker (@frog32 - #7591)
- Fix websocket api reaching queue (@balloob - #7590) (websocket_api docs)
- SMTP 通知 enhancements: full HTML emails and custom
product_namein email headers (@azogue - #7533) (通知.smtp docs) - 自动化 状态 Change For timer 属性 fix (@armills - #7584) (自动化.状态 docs)
- Add posibility to specify snmp protocol 版本 (@jhemzal - #7564) (传感器.snmp docs)
- Add sonos 报警 clock 更新 服务 (@frog32 - #7521) (媒体播放器.sonos docs)
- Fix handling of single 用户 (@mezz64 - #7587) (eight_sleep docs)
- File 传感器 (@fabaff - #7569) (传感器.file docs) (new-platform)
- Make miflora monitored_conditions parameter optional (@frog32 - #7598) (传感器.miflora docs)
- Force 自动化 ids to always be a string (@balloob - #7612) ([自动化 docs])
- 更新 Docker base 图像 to python 3.6 (@pschmitt - #7613)
- Add Content-type: 图像/jpeg for 摄像头 proxy (@olekenneth - #7581) (摄像头 docs)
- Fix typo and 更新 style to match the other platforms (@fabaff - #7621) (image_processing.opencv docs)
- Bump pyvera - fixes issue with % in brightness levels. (@pavoni - #7622) (vera docs)
- Add kelvin/brightness_pct alternatives to 灯光.turn_on (@amelchio - #7596) (灯光.lifx docs) (灯光 docs)
- Add support for disabling tradfri groups (@cnrd - #7593) (tradfri docs) (灯光.tradfri docs)
- 更新 docstrings and comments (@fabaff - #7626) (image_processing.openalpr_cloud docs) (image_processing.openalpr_local docs)
- 升级 Sphinx to 1.6.1 (@fabaff - #7624)
- 更新 docstrings (@fabaff - #7630) (image_processing docs) (image_processing.dlib_face_detect docs) (image_processing.dlib_face_identify docs) (image_processing.microsoft_face_detect docs) (image_processing.microsoft_face_identify docs) (image_processing.opencv docs)
- Kodi specific 服务 to call Kodi API methods (@azogue - #7603) (媒体播放器.kodi docs)
- Updated limitlessled requirement to v1.0.8 (@corneyl - #7629)
- Osram lightify Removed wrong assignment (@commento - #7615) (灯光.osramlightify docs)
- Updated dependency (@danielperna84 - #7638) (homematic docs)
- Seven segments OCR 图像 processing (@fabaff - #7632) (image_processing.seven_segments docs) (image_processing docs) (new-platform)
- Abort tests when instances leaked (@balloob - #7623)
- Coerce color_temp to int even when passed in as kelvin (@amelchio - #7640) (灯光 docs)
- Fix 自动化 failing to 设置 if no 自动化 specified (@balloob - #7647) ([自动化 docs])


