title: '0.48: Snips.ai、Shiftr.io 与大幅提升的 History 查询速度' description: '<a href=''/home-assistant/integrations/版本/0.48''<img src=''/home-assistant/images/blog/2017-07-0.48/components.png'' style=''border: 0;box-shadow: none;''</a。' 通过 Shiftr.io 可视化数据,并享受更快的历史记录浏览体验。
0.48: Snips.ai、Shiftr.io 与大幅提升的 History 查询速度
又到了发布精彩新版本的时候了!
We've started the process of upgrading our 前端 technology. If you notice something not working that did work before, please open an issue.
Pascal has added a new option to Home Assistant 核心 to set a list of whitelisted folders that Home Assistant can read from. When a component allows to send files (like Telegram), it will only be allowed to send files from those directories. The only default whitelisted folder is the public <config>/www directory.
Z-Wave will, as announced in the last 发布, be defaulting to generate the new 实体 ids. More info in the 博客 post. You can still opt-in for the old style.
History 查询大幅提速
多亏了 @cmsimike 在 #8255 中的工作,你在使用历史记录视图时会感受到明显提速。在他的本地测试中,查询时间从 1 分钟缩短到了 90 毫秒!⚡️
Snips.ai 组件
Snips 贡献了一个用于集成其 Snips.ai 本地语音助手的组件。这样你就可以把扬声器和麦克风接到树莓派上,快速搭建属于你自己的本地版 Amazon Echo。更多说明请参阅文档。
另外也要感谢 @michaelarnauts 一直关注我们的 Docker 构建,并再次成功缩小了镜像体积 👍
发布 0.48.1 - July 5
- Fix arlo 传感器. (@bergemalm - #8333) (传感器.arlo docs)
- API POST no longer marks the number zero as invalid (@azogue - #8324) (api docs)
- Fix Snips json schema (@adrienball - #8317) (snips docs)
- Fix pathlib resolve (@pvizeli - #8311)
- Fix harmony (@balloob - #8302) (遥控器.harmony docs)
- Fix Arlo startup crash (fixes #8288) (@fabaff - #8290) (摄像头.arlo docs)
- Temporary fix for the client_id generation (fixes #8315) (@fabaff - #8336) (MQTT docs)
新平台
- Add initial support for Shiftr.io (@fabaff - #7974) (shiftr docs) (new-platform)
- Upnp properties (@dgomes - #8067) (upnp docs) (传感器.upnp docs) (new-platform)
- Add support for Insteon FanLinc 风扇 (@jawilson - #6959) (insteon_local docs) (风扇.insteon_local docs) (new-platform)
- add knx 遮盖 support (@tiktok7 - #7997) (knx docs) (遮盖.knx docs) (new-platform)
- Add I2c BME280 temperature, humidity and pressure 传感器 for 树莓派 (@azogue - #7989) (传感器.bme280 docs) (new-platform)
- Add I2c HTU21D temperature and humidity 传感器 for 树莓派 (@azogue - #8049) (传感器.htu21d docs) (new-platform)
- Add new BH1750 灯光 level 传感器 (@azogue - #8050) (传感器.bh1750 docs) (new-platform)
- Rfxtrx 二元sensor (@ypollart - #6794) (rfxtrx docs) (binary_sensor.rfxtrx docs) (new-platform)
- Add ClickSend 通知 服务. (@omarusman - #8135) (通知.clicksend docs) (new-platform)
- Add 设备 tracker for Linksys Smart WiFi 设备 (@mortenlj - #8144) (device_tracker.linksys_smart docs) (new-platform)
- Openhardwaremonitor (@depl0y - #8056) (传感器.openhardwaremonitor docs) (new-platform)
- WIP: Verisure app api (@persandstrom - #7394) (verisure docs) (alarm_control_panel.verisure docs) (binary_sensor.verisure docs) (传感器.verisure docs) (开关.verisure docs) (new-platform)
- telegram_bot platform to only send messages (@azogue - #8186) (new-platform)
- Comfoconnect 风扇 component (@michaelarnauts - #8073) (comfoconnect docs) (风扇.comfoconnect docs) (传感器.comfoconnect docs) (new-platform)
- Implement 模板 for 遮盖 (@PhracturedBlue - #8100) (遮盖.模板 docs) (new-platform)
- Snips ASR and NLU component (@michaelfester - #8156) (snips docs) (new-platform)
如果你需要帮助……
欢迎使用我们非常活跃的 论坛,或加入 聊天频道 与我们交流。虽然发布说明也开放评论,但我们更推荐使用前面的沟通渠道。谢谢。
反馈问题
如果你遇到了这个版本引入的问题,请前往我们的 issue tracker 提交反馈,并确保填写 issue 模板中的所有字段。
不向后兼容的变更
- 我们新增了一个白名单选项,用于指定哪些文件夹可以作为发送文件的来源。如果你在 telegram 组件中使用文件发送功能,就需要配置这个选项。 (@pvizeli - #8189) (breaking change)
- Vera battery levels will no longer have the percent sign appended (@philhawthorne - #8069) (vera docs) (breaking change)
- 通知 - SMTP: Added SMTP SSL/TLS support so now you should specify which encryption to use. (@sn0oz - #7960) (通知.smtp docs) (breaking change)
- 灯光 - LIFX: The
lifx_effect_breathecall was deprecated in 版本 0.47 and has now been removed. You can uselifx_effect_pulsewithmode: breathefor the same effect. (@amelchio - #8222) (灯光.lifx docs) (breaking change) - LimitlessLED: No longer automatically fades the 灯光 when turning the 灯光 off. Can be restored with a new config option. (@SmilyOrg - #7369) (灯光.limitlessled docs) (breaking change)
全部变更
- 更新 numpy 1.13.0 (@pvizeli - #8059) (image_processing.opencv docs)
- No 更新 in MQTT 二元sensor #7478 (@pezinek - #8057)
- Use standard entity_ids for zwave 实体 (@armills - #7786) (zwave docs) (灯光.zwave docs) (breaking change)
- Fix some 警告 found by quantifiedcode (@andrey-git - #8027) (insteon_hub docs) (tellduslive docs) (日历.google docs)
- Always enable monkey patch (@balloob - #8054)
- Remove % sign from Vera Battery Levels (@philhawthorne - #8069) (vera docs) (breaking change)
- Allow config of latitude and longitude (@jshore1296 - #8068) (传感器.wunderground docs)
- Failed to parse response from WU API: 'record' (and 'recordyear') #7747 (@pezinek - #8058) (传感器.wunderground docs)
- Add initial support for Shiftr.io (@fabaff - #7974) (shiftr docs) (new-platform)
- Add option to set language of openweathermap 传感器, and handle updating 错误 (@azogue - #8046) (传感器.openweathermap docs)
- Bump pyEmby 版本 to account for API changes (@mezz64 - #8070) (媒体播放器.emby docs)
- bump ups (@happyleavesaoc - #8075)
- bump usps 版本 (@happyleavesaoc - #8074)
- Add to zwave 服务 descriptions (@andrey-git - #8072)
- Fix 属性 实体 (@pvizeli - #8066) (breaking change)
- Added 'all_plants' group and support for plant groups 状态. (@aronsky - #8063) (group docs) (plant docs)
- Fix EntityComponent handle 实体 without a name (@balloob - #8065)
- 更新 pyunifi component to use APIError passed from pyunifi 2.13. Better accommodate login failures with wrapper in pyunifi 2.13. (@finish06 - #7899) (device_tracker.unifi docs)
- Stopping the logfile spam by piping STDERR to /dev/null (@madpilot - #8081) (开关.wake_on_lan docs)
- mpd: implement support for seek, shuffle, and clear playlist (@auchter - #8090) (媒体播放器.mpd docs)
- Cleanup .coveragerc (@michaelarnauts - #8088)
- 更新 pywebpush to 1.0.5 (@perosb - #8084) (通知.html5 docs)
- media player Kodi: handle TransportError exceptions when calling JSONRPC API methods (@azogue - #8047) (媒体播放器.kodi docs)
- Upnp properties (@dgomes - #8067) (upnp docs) (传感器.upnp docs) (new-platform)
- Add support for Insteon FanLinc 风扇 (@jawilson - #6959) (insteon_local docs) (风扇.insteon_local docs) (new-platform)
- add knx 遮盖 support (@tiktok7 - #7997) (knx docs) (遮盖.knx docs) (new-platform)
- More updates to zwave 服务.yaml file (@andrey-git - #8083)
- Fix 灯光 issue #8098 (@tsvi - #8101) (灯光.vera docs)
- increase timeout for setWebhook to 10s (@azogue - #8102) (telegram_bot.webhooks docs)
- Added SMTP SSL/TLS support (@sn0oz - #7960) (通知.smtp docs) (breaking change)
- Fix Dyson async_add_job (@CharlesBlonde - #8113) (风扇.dyson docs) (传感器.dyson docs)
- 更新 InfluxDB to handle datetime objects and multiple decimal points (@philhawthorne - #8080) (influxdb docs)
- Remove config details (see docs) (@fabaff - #8119) (遮盖.knx docs)
- Only mark active DHCP clients as present (@cyberplant - #8110) (device_tracker.mikrotik docs)
- Add option to specify the location of the API (fixes #8115) (@fabaff - #8118) (传感器.pi_hole docs)
- Fixed iTach command parsing with empty data (@alanfischer - #8104) (遥控器.itach docs)
- 升级 mutagen to 1.38 (@fabaff - #8126) (tts docs)
- 升级 paho-MQTT to 1.3.0 (@fabaff - #8125) (MQTT docs) (shiftr docs)
- 升级 sqlalchemy to 1.1.11 (@fabaff - #8124) (recorder docs)
- 升级 aiohttp to 2.2.0 (@fabaff - #8121)
- 升级 RestrictedPython dependency (@balloob - #8132) (python_script docs)
- Added RFXTRX UV badge (@lunar-consultancy - #8129) (rfxtrx docs)
- Do not call 更新() in constructor (@fabaff - #8120) (传感器.netdata docs)
- Change 错误 Message when Turning off ISY994 灯光 (@SConaway - #8131) (灯光.isy994 docs)
- Allow iteration in python_script (@balloob - #8134) (python_script docs)
- Add current balance to hydroquebec 传感器 (@titilambert - #8138)
- Decora 灯光: Fix brightness level in UI (@titilambert - #8139) (灯光.decora docs)
- Add I2c BME280 temperature, humidity and pressure 传感器 for 树莓派 (@azogue - #7989) (传感器.bme280 docs) (new-platform)
- 升级 libsoundtouch to prevent Python3.6 错误 with enum. #7733 #8103 (@CharlesBlonde - #8143) (媒体播放器.soundtouch docs)
- Adds CPU temp monitoring, and allow startup when endpoint is not yet available. (@jjmontesl - #8093) (传感器.glances docs)
- Add I2c HTU21D temperature and humidity 传感器 for 树莓派 (@azogue - #8049) (传感器.htu21d docs) (new-platform)
- Add new BH1750 灯光 level 传感器 (@azogue - #8050) (传感器.bh1750 docs) (new-platform)
- LimitlessLED: Configurable fade-out behavior (@SmilyOrg - #7369) (灯光.limitlessled docs) (breaking change)
- Harmony auto discovery via netdisco (@tony2nite - #7741) (遥控器.harmony docs)
- Rfxtrx 二元sensor (@ypollart - #6794) (rfxtrx docs) (binary_sensor.rfxtrx docs) (new-platform)
- Add support of Zone2 and Zone3 (@scarface-4711 - #8025) (媒体播放器.denonavr docs)
- 升级 python-telegram-bot to 6.1.0 (@fabaff - #8151) (telegram_bot docs)
- 升级 libsoundtouch to 0.6.2 (@fabaff - #8149) (媒体播放器.soundtouch docs)
- 开关 rachiopy to pypi (@andrey-git - #8040) (开关.rachio docs)
- ubus: Refresh session on Access denied (@glance- - #8111)
- Added invert flag for position for actuators that uses 100% for fully closed position (@open-homeautomation - #8147)
- add telegram_bot 服务: delete_message (@azogue - #8153) (telegram_bot docs)
- Fixed rfxtrx binary_sensor off command (@basschipper - #8160) (rfxtrx docs) (binary_sensor.rfxtrx docs)
- Use 版本 1.3 of radiotherm (@twilde - #8164) (温控.radiotherm docs)
- Tado 温控 设备 (@wmalgadey - #8041) (tado docs) (温控.tado docs)
- Add ClickSend 通知 服务. (@omarusman - #8135) (通知.clicksend docs) (new-platform)
- Add libboost-python1.62-dev (fixes #7851) (@fabaff - #7868)
- 卸载 enum34 in python3.6 Docker 图像 (@jeanregisser - #8103)
- Revert "Add libboost-python1.62-dev (fixes #7851)" (@balloob - #8182)
- Add 设备 tracker for Linksys Smart WiFi 设备 (@mortenlj - #8144) (device_tracker.linksys_smart docs) (new-platform)
- 更新 buienradar.py (@lrmate - #8173) (传感器.buienradar docs)
- Fix radiotherm model CT50 (@tubaman - #8181) (温控.radiotherm docs)
- Throw exception if _convert_for_display called on non Number (@sdague - #8178) (温控 docs) (温控.mysensors docs)
- Added buienradar precipitation forecast average & total 传感器 (@basschipper - #8171) (传感器.buienradar docs) (天气.buienradar docs)
- Axis 服务 vapix call (@Kane610 - #7794) (axis docs) (摄像头.axis docs)
- added optional node_id to MQTT discovery (@AlexMekkering - #8096)
- Add offset option to 传感器.gtfs (@Kernald - #7980)
- 开关 to new zwave 实体 ids by default (@armills - #8192) (zwave docs)
- Pushed to 版本 0.5.1 of the library (@scarface-4711 - #8190) (媒体播放器.denonavr docs)
- Fix MySensors 温控 (@balloob - #8193) (温控.mysensors docs)
- Fix plants calling async methods from sync context (@balloob - #8200)
- Split mock_service (@balloob - #8198)
- add option to set content_type in 摄像头.generic to support 'svg 摄像头' (@azogue - #8188)
- Remove unnecessary thread_ident assignment (@armills - #8194)
- Openhardwaremonitor (@depl0y - #8056) (传感器.openhardwaremonitor docs) (new-platform)
- Add security layer to send file output things (@pvizeli - #8189) (breaking change)
- Fix Plex component to use port number in discovery. (@voltagex - #8197) (媒体播放器.plex docs)
- EntityComponent to retry platforms that are not ready yet (@balloob - #8209)
- WIP: Verisure app api (@persandstrom - #7394) (verisure docs) (alarm_control_panel.verisure docs) (binary_sensor.verisure docs) (传感器.verisure docs) (开关.verisure docs) (new-platform)
- guess the content_type in local_file 摄像头 (@azogue - #8217) (摄像头.local_file docs)
- Improve executor pool size / speedup python 3.5 (@pvizeli - #8215)
- LIFX: Move 灯光 effects to external library (@amelchio - #8222) (灯光.lifx docs) (breaking change)
- Fixed MQTT subscription filter on sys $ topics (@natemason - #8166) (MQTT docs)
- telegram_bot platform to only send messages (@azogue - #8186) (new-platform)
- add percentage (DPT_Scaling) KNX 传感器 (@tiktok7 - #8168) (传感器.knx docs)
- Fix homeassistant.start 触发器 (@azogue - #8220)
- Cleanup 自动化 yaml (@balloob - #8223)
- Do not call 更新() in constructor (@fabaff - #8148) (传感器.glances docs)
- KNX 遮盖 tilt control (@open-homeautomation - #8159) (遮盖.knx docs)
- Comfoconnect 风扇 component (@michaelarnauts - #8073) (comfoconnect docs) (风扇.comfoconnect docs) (传感器.comfoconnect docs) (new-platform)
- 升级 python-digitalocean to 1.12 (@fabaff - #8241) (digital_ocean docs)
- 更新 i2csense requirement (@azogue - #8242) (传感器.bh1750 docs) (传感器.bme280 docs) (传感器.htu21d docs)
- 更新 docstrings (@fabaff - #8244) (comfoconnect docs) (风扇.comfoconnect docs)
- Do not call 更新() in constructor (@fabaff - #8247) (binary_sensor.arest docs) (传感器.arest docs)
- better logging to 调试 when a message is not sent (@azogue - #8248) (telegram_bot docs)
- LIFX: Small code cleanups (@amelchio - #8228) (灯光.lifx docs)
- Use 'hass.data' instead of global (@fabaff - #8245) (digital_ocean docs) (binary_sensor.digital_ocean docs) (开关.digital_ocean docs)
- Use constant and 更新 ordering (@fabaff - #8246) (arlo docs) (摄像头.arlo docs)
- Add PlatformNotReady support for Sensibo (@andrey-git - #8252) (温控.sensibo docs)
- verisure component names (@persandstrom - #8251) (binary_sensor.verisure docs) (摄像头.verisure docs) (门锁.verisure docs) (开关.verisure docs)
- further document add_node_secure (@JudgeDreddKLC - #8229)
- 升级 libnacl to 1.5.1 (@fabaff - #8259) (device_tracker.owntracks docs)
- Docker cleanup. (@michaelarnauts - #8226)
- Implement 模板 for 遮盖 (@PhracturedBlue - #8100) (遮盖.模板 docs) (new-platform)
- Adding done_message to alert (@karlw00t - #8116) (alert docs)
- 摄像头 服务 arm disarm including Netgear Arlo (@viswa-swami - #7961) (摄像头.arlo docs)
- 更新 modbus.py (@lrmate - #8256) (binary_sensor.modbus docs)
- components.knx - KNXMultiAddressDevice corrections (@tiktok7 - #8275) (knx docs)
- Snips ASR and NLU component (@michaelfester - #8156) (snips docs) (new-platform)
- Create an index on the 状态 table to help hass startup time (@cmsimike - #8255)


