0.53: Tesla、自定义编辑器与超高速 KNX 重写
过去两周里,Home Assistant 社区一直非常忙碌,只为带来这个精彩版本。60 位不同的贡献者提交了 100 多个 PR,其中包含新功能、Bug 修复和性能优化。
距离我们四岁生日还有 9 天,我们刚刚达成了几个值得分享的重要里程碑。GitHub Star 已经超过 8000 🌟,而且从这个版本开始,我们已经提供超过 800 个平台和组件!
自定义编辑器
@andrey-git 为让 Home Assistant 可以通过前端进行配置又迈进了一步:自定义编辑器!现在你只需点几下,就能查看某个实体所有(可能的)自定义项并进行更新。想修改实体名称或图标?几秒钟内就能完成。
新版自定义编辑器截图。
新的 Home Assistant 配置会被自动正确创建。如果你是老用户,请确保已启用配置界面,并从 customize.yaml 中引入自定义配置。
Tesla
Thanks to the contribution by @zabuldon, you will now be able to control your Tesla car from Home Assistant. You're able to check the temperature inside and outside your car, control your AC and unlock the car.
文本输入
这个版本引入了一个新的输入组件:由 @BioSehnsucht 贡献的 input_text。借助这个组件,你可以在 UI 中输入自由文本,并让自动化或模板使用这些内容。
KNX
This 发布 ships a new KNX implementation thanks to @Julius2342. It will instantly show all changed 状态 of KNX 设备 within Home Assistant. Additionally it brings support for HVAC 设备 and 通知 服务. It also adds a 服务 for direct communication with the KNX bus. You can connect to KNX/IP routing and tunneling 设备. In the background it uses asyncio communication. Check the 温控 集成 in 动作 here and see the 灯光 in 动作 below:
新平台
- Xiaomi Philips 灯光 集成 (@syssi - #9087) (灯光.xiaomi_philipslight docs) (new-platform)
- Mycroft 通知/component (@btotharye - #9173) (mycroft docs) (通知.mycroft docs) (new-platform)
- Add counter component (@fabaff - #9146) (counter docs) (new-platform)
- Support for season 传感器 (@w1ll1am23 - #8958) (传感器.season docs) (new-platform)
- Abode push events and 门锁, 遮盖, and 开关 components (@[MisterWil] - #9095) (abode docs) (alarm_control_panel.abode docs) (binary_sensor.abode docs) (遮盖.abode docs) (门锁.abode docs) (开关.abode docs) (new-platform)
- Bayesian 二元sensor (@jlmcgehee21 - #8810) (binary_sensor.bayesian docs) (new-platform)
- Add Tank Utility 传感器 (@krismolendyke - #9132) (传感器.tank_utility docs) (new-platform)
- Tesla platform (@zabuldon - #9211) (tesla docs) (binary_sensor.tesla docs) (温控.tesla docs) (device_tracker.tesla docs) (门锁.tesla docs) (传感器.tesla docs) (new-platform)
- mopar 传感器 (@happyleavesaoc - #9136) (new-platform)
- Add Geofency 设备 tracker (@gunnarhelgason - #9106) (device_tracker.geofency docs) (new-platform)
- Added DWD WarnApp 传感器 (@runningman84 - #8657) (传感器.dwdwarnapp docs) (new-platform)
- Add input_text component (@BioSehnsucht - #9112) (input_text docs) (new-platform)
- Introducing a 媒体播放器 component for Yamaha Multicast 设备 (@jalmeroth - #9258) (媒体播放器.yamaha_musiccast docs) (new-platform)
- Stable and asynchronous KNX library. (@Julius2342 - #8725) (knx docs) (binary_sensor.knx docs) (温控.knx docs) (遮盖.knx docs) (灯光.knx docs) (传感器.knx docs) (开关.knx docs) (new-platform)
- Adds the AirVisual air quality 传感器 platform (@bachya - #9320) (传感器.airvisual docs) (new-platform)
发布 0.53.1 - September 12
- Fix Twitter 通知 with certain media such as small 图像 (@MikeChristianson - #9354) (通知.twitter docs)
- Added additional string check in Wunderground 传感器 (@arsaboo - #9380) (传感器.wunderground docs)
- Fixing foscam library dependency/requirements (@viswa-swami - #9387) (摄像头.foscam docs)
- Fixes for customize editor (@andrey-git)
如果你需要帮助……
欢迎使用我们非常活跃的 论坛,或加入 聊天频道 与我们交流。虽然发布说明也开放评论,但我们更推荐使用前面的沟通渠道。谢谢。
反馈问题
如果你遇到了这个版本引入的问题,请前往我们的 issue tracker 提交反馈,并确保填写 issue 模板中的所有字段。
不向后兼容的变更
- The new customize editor is using the file
customize.yamlin your config folder. If you are using this file today for other config, make sure to rename it before using the new customize UI editor. (@andrey-git - #9134) (config docs) (breaking change) (new-platform) - The 前端 component now supports loading custom html files when Home Assistant front end starts (@andrey-git - #9150) (breaking change). It could be Javascript, CSS or custom Web Components. Along there was a breaking change in the way Custom UI is used:
custom_ui_state_cardnow specifies the exact element name and not a suffix afterstate-card. So if you hadstate_card_custom_ui: custom-uiin your config, you should change it tostate_card_custom_ui: state-card-custom-uicustom_ui_state_cardno longer makes the html fetch, you should make it separately:
- The Egardia 报警 control 面板 now defaults to port 52010 instead of 85. (@jeroenterheerdt - #9225) (alarm_control_panel.egardia docs) (breaking change)
- The Homematic
delayoption has been dropped because it is no longer necessary (@pvizeli - #9058) (homematic docs) (binary_sensor.homematic docs) (温控.homematic docs) (遮盖.homematic docs) (灯光.homematic docs) (传感器.homematic docs) (开关.homematic docs) (breaking change) - 开关 - Dlink: Remove spaces and capital letters from 属性 names for consistency (@emlt - #9277) (开关.dlink docs) (breaking change)
全部变更
- Xiaomi Philips 灯光 集成 (@syssi - #9087) (灯光.xiaomi_philipslight docs) (new-platform)
- 后端 changes for customize config 面板. (@andrey-git - #9134) (config docs) (breaking change)
- 升级 async_timeout to 1.3.0 (@fabaff - #9156)
- Remove links to gitter (@fabaff - #9155)
- 升级 sphinx-autodoc-typehints to 1.2.3 (@fabaff - #9151)
- 升级 uber_rides to 0.5.2 (@fabaff - #9149) (传感器.uber docs)
- Allow specifying custom html urls to load. (@andrey-git - #9150) (breaking change)
- Allow getting number of available 状态 in 模板 (@balloob - #9158)
- 升级 xiaomi lib to 0.3.1 to supprt water 传感器 (@danielhiversen - #9168) (xiaomi docs)
- Use node_modules gulp in 脚本/build_frontend (@armills - #9170)
- Mysensors nodes can be renamed in config file (@EmitKiwi - #9123) (mysensors docs)
- Xiaomi gateway: 设备 support for the Aqara Water Leak 传感器 (sensor_wleak.aq1) (@syssi - #9172) (xiaomi docs) (binary_sensor.xiaomi docs)
- "TypeError: write_to_hub() takes 2 positional arguments but 4 were given" fixed. (@syssi - #9174) (遮盖.xiaomi docs)
- Mycroft 通知/component (@btotharye - #9173) (mycroft docs) (通知.mycroft docs) (new-platform)
- Fix dht22 when no data was read initially #8976 (@maweki - #9198) (传感器.dht docs)
- 更新 pushbullet.py (@bobnwk - #9200) (通知.pushbullet docs)
- fix worldtidesinfo #9184 (@aetolus - #9201) (传感器.worldtidesinfo docs)
- Add "status" to Sonarr 传感器 (@tboyce021 - #9204) (传感器.radarr docs) (传感器.sonarr docs)
- Prevent 错误 when no forecast data was available (@mjj4791 - #9176) (传感器.buienradar docs)
- Fix and optimize digitalloggers platform (@dale3h - #9203) (开关.digitalloggers docs)
- Add counter component (@fabaff - #9146) (counter docs) (new-platform)
- Support for season 传感器 (@w1ll1am23 - #8958) (传感器.season docs) (new-platform)
- Issue #6893 in rfxtrx (@danielhiversen - #9130) (rfxtrx docs)
- Refactor rfxtrx (@danielhiversen - #9117) (rfxtrx docs) (遮盖.rfxtrx docs) (灯光.rfxtrx docs) (开关.rfxtrx docs)
- 升级 pymysensors to 0.11.1 (@MartinHjelmare - #9212) (mysensors docs)
- Abode push events and 门锁, 遮盖, and 开关 components (@[MisterWil] - #9095) (abode docs) (alarm_control_panel.abode docs) (binary_sensor.abode docs) (遮盖.abode docs) (门锁.abode docs) (开关.abode docs) (new-platform)
- Add cloud auth support (@balloob - #9208)
- Bayesian 二元sensor (@jlmcgehee21 - #8810) (binary_sensor.bayesian docs) (new-platform)
- directv: extended discovery via REST api, bug fix (@sielicki - #8800) (媒体播放器.directv docs)
- 升级 pyasn1 to 0.3.3 and pyasn1-modules to 0.1.1 (@fabaff - #9216) (通知.xmpp docs)
- 升级 sendgrid to 5.0.1 (@fabaff - #9215) (通知.sendgrid docs)
- Fix fitbit 错误 when trying to access token after 升级. (@tchellomello - #9183) (传感器.fitbit docs)
- Allow sonos to select album as a source (@commento - #9221) (媒体播放器.sonos docs)
- Add max_age to statistics 传感器 (@tinloaf - #8790) (传感器.statistics docs)
- Egardia package to .19 and change in port number for egardiaserver (@jeroenterheerdt - #9225) (alarm_control_panel.egardia docs) (breaking change)
- pushbullet, send a file from url (@danielhiversen - #9189) (通知.pushbullet docs)
- Add Tank Utility 传感器 (@krismolendyke - #9132) (传感器.tank_utility docs) (new-platform)
- 升级 shodan to 1.7.5 (@fabaff - #9228) (传感器.shodan docs)
- Tesla platform (@zabuldon - #9211) (tesla docs) (binary_sensor.tesla docs) (温控.tesla docs) (device_tracker.tesla docs) (门锁.tesla docs) (传感器.tesla docs) (new-platform)
- [灯光.tradfri] Full range of white spectrum lightbulbs support (@matemaciek - #9224) (tradfri docs) (灯光.tradfri docs)
- Allow 面板 with external URL (@andrey-git - #9214)
- Use ZCL mandatory 属性 to determine ZHA 灯光 capabilities (@jkl1337 - #9232) (灯光.zha docs)
- A bugfix for pushbullet (@danielhiversen - #9237) (通知.pushbullet docs)
- mopar 传感器 (@happyleavesaoc - #9136) (new-platform)
- 升级 discord.py to 0.16.11 (@fabaff - #9239) (通知.discord docs)
- Skip automatic events older than latest data (@armills - #9230)
- title and message was swapped in pushbullet (@danielhiversen - #9241) (通知.pushbullet docs)
- Fix possible KeyError (@MartinHjelmare - #9242) (mysensors docs)
- WIP: Homematic improvements with new hass interfaces (@pvizeli - #9058) (homematic docs) (binary_sensor.homematic docs) (温控.homematic docs) (遮盖.homematic docs) (灯光.homematic docs) (传感器.homematic docs) (开关.homematic docs) (breaking change)
- Add available to sonos (@pvizeli - #9243) (媒体播放器.sonos docs)
- Make sure Ring binary_sensor 状态 will 更新 only if device_id matches (@tchellomello - #9247) (binary_sensor.ring docs)
- Added configurable timeout for receiver HTTP requests | Additional AV… (@scarface-4711 - #9244) (媒体播放器.denonavr docs)
- 升级 xiaomi lib (@danielhiversen - #9250) (xiaomi docs)
- Fix nello.io login (@pschmitt - #9251) (门锁.nello docs)
- This is to fix #6386: Manual 报警 not re-arm after 2nd 触发器 (@snjoetw - #9249) (alarm_control_panel.manual docs)
- 版本 bump of DLink 开关 to v0.6.0 (@LinuxChristian - #9252) (开关.dlink docs)
- 升级 sendgrid to 5.2.0 (@fabaff - #9254) (通知.sendgrid docs)
- 升级 psutil to 5.3.0 (@fabaff - #9253) (传感器.systemmonitor docs)
- Adding ZWave CentralScene activation handler. (@sirmalloc - #9178) (zwave docs)
- Add Geofency 设备 tracker (@gunnarhelgason - #9106) (device_tracker.geofency docs) (new-platform)
- flux: fix for when stop_time is after midnight (@abmantis - #8932)
- Change 属性 names (@emlt - #9277) (开关.dlink docs) (breaking change)
- insteon_plm: fix typo in 属性 (@drkp - #9284) (insteon_plm docs)
- discovery: If unknown NetDisco 服务 discovered, 日志 about it. (@pfalcon - #9280)
- 升级 youtube_dl to 2017.9.2 (@fabaff - #9279) (media_extractor docs)
- 升级 python-telegram-bot to 8.0.0 (@fabaff - #9282) (telegram_bot docs) (开关.rest docs)
- rfxtrx lib 升级 (@danielhiversen - #9288) (rfxtrx docs)
- Fixing bug when using egardiaserver - package requirement updated to 1.0.20. (@jeroenterheerdt - #9294) (alarm_control_panel.egardia docs)
- Added intent_type to exception 日志 (@andreasjacobsen93 - #9289) (snips docs)
- Handle spotify failing to refresh access_token (@Tommatheussen - #9295) (媒体播放器.spotify docs)
- 核心 track same 状态 for a period / Allow on platforms (@pvizeli - #9273)
- Improved Lutron Caseta shade support (@upsert - #9302) (lutron_caseta docs) (遮盖.lutron_caseta docs) (灯光.lutron_caseta docs) (开关.lutron_caseta docs)
- 升级 mycroftapi to 2.0 (@btotharye - #9309) (mycroft docs)
- Fix for Honeywell Round thermostats (@dansarginson - #9308) (温控.honeywell docs)
- 更新 jinja to 2.9.6 (@pvizeli - #9306)
- Ensure display-name does not exceed 12 characters for CecAdapter. (@gollo - #9268) (hdmi_cec docs)
- Expose hue group 0 (@filcole - #8663) (灯光.hue docs)
- Added DWD WarnApp 传感器 (@runningman84 - #8657) (传感器.dwdwarnapp docs) (new-platform)
- Add input_text component (@BioSehnsucht - #9112) (input_text docs) (new-platform)
- Introducing a 媒体播放器 component for Yamaha Multicast 设备 (@jalmeroth - #9258) (媒体播放器.yamaha_musiccast docs) (new-platform)
- Handle the case where no registration number is available (instead display VIN (vehicle identification number)). (@molobrakos - #9073) (volvooncall docs) (device_tracker.volvooncall docs)
- Add post_pending_state 属性 to manual alarm_control_panel (@snjoetw - #9291) (alarm_control_panel.manual docs)
- Add new config variable to MQTT 灯光 (@belyalov - #9304) (灯光.MQTT docs)
- Follow Twitter guidelines for media upload by conforming to the "STATUS" phase, when required, and by providing "media_category" information. These will, for example, allow 用户 to upload videos that exceed the basic 30 second limit. (@MikeChristianson - #9261) (通知.twitter docs)
- Optionally disable ssl certificate validity check. (@ohmer1 - #9181) (通知.xmpp docs)
- 版本 bump dlib to 1.0.0 (@arsaboo - #9316) (image_processing.dlib_face_detect docs) (image_processing.dlib_face_identify docs)
- Fixed bug with 设备 not being discovered correctly. (@MisterWil - #9311) (abode docs)
- Platform not ready behavior fixed. (@syssi - #9325) (灯光.xiaomi_philipslight docs)
- Stable and asynchronous KNX library. (@Julius2342 - #8725) (knx docs) (binary_sensor.knx docs) (温控.knx docs) (遮盖.knx docs) (灯光.knx docs) (传感器.knx docs) (开关.knx docs) (new-platform)
- Fix for potential issue with tesla initialization (@zabuldon - #9307) (tesla docs)
- Adds the AirVisual air quality 传感器 platform (@bachya - #9320) (传感器.airvisual docs) (new-platform)
- Cleanup input_text (@balloob - #9326) (input_text docs)
- Bump pyHik 版本 to add IO support (@mezz64 - #9341) (binary_sensor.hikvision docs)


