title: '0.99: Withings, 设备 自动化, launch Home Assistant Cast from Python.' description: '<a href=''/home-assistant/integrations/版本/0.99''<img src=''/home-assistant/images/blog/2019-09-0.99/components.png'' style=''border: 0;box-shadow: none;''</a。' 自动化 for everyone.

0.99: Withings, 设备 自动化, launch Home Assistant Cast from Python.

Happy 6th birthday to us! Yep, it's been 6 years since the first commit, 6 years since we started our quest for a local and privacy foucsed home 自动化 hub. And I think that we're doing a pretty ok job 😏

It’s time for Home Assistant 发布 99. And this 发布 is adding a bunch of new great features all over the place.

欢迎 Bram!

Nabu Casa has hired Bram Kragten. Bram has been active in the Home Assistant community for a while and is one of the driving forces behind the Lovelace UI. He will work on the Home Assistant 前端 full-time. He will focus on making it easier to manage your Home Assistant 安装, make sure all of the 前端 is translatable and drive our efforts on making the 前端 accessible for visually impaired people.

This is possible thanks to all the people who subscribe to Home Assistant Cloud ❤️

设备 自动化

We took a step back, looked at Home Assistant, and thought about how we could make it easier for 用户 to create 自动化. We realized that there was 房间 for improvement. We identified the following issues:

  • To write 自动化, 用户 need to learn Home Assistant concepts like events, 实体 and 服务.
  • It's difficult to discover what can be automated. For example, if you’re automating a long press on the "打开" 按钮 on a Zigbee 遥控器, you need to know to listen to the event “zha_event” and match against the Zigbee 设备 identifier of your 遥控器 and the long press type.

So we put our inventor hat on and have come up with a solution that allows 用户 to create 自动化 in the concepts that they already know: 设备. Now when a 用户 starts configuring an 自动化 触发器, it can pick 设备 自动化 as a new type.

Screenshot of defining a 设备 触发器. Screenshot of defining a 设备 触发器 in the UI.

The 用户 starts by picking one of their 设备 that is integrated into Home Assistant. A second dropdown will now appear that contains all the possible 触发器 for this 设备. This list is populated based on the 集成 that are linked to this 设备 (ie. Hue & 灯光).

设备 自动化 are available for 触发器, 条件 and 动作. Today’s 发布 supports 灯光, 开关 and Deconz. More to come in future releases as 集成 开发者 adopt it.

Big thanks to @emontnemery for driving this effort. He added initial support for 设备 自动化 as a YAML-only feature in Home Assistant 0.97 and has worked hard to extend it in this 发布 with UI support and support for 条件, 动作 and more 集成. Also a big thanks to @kane610 who added added support for 设备 自动化 to Deconz which helped squash bugs and improve the design.

前端

There is a lot to talk here. Buckle up.

@thomasloven has built a brand new round slider from scratch for use in Home Assistant. It is using modern technologies to create a great experience. This component was so useful standalone that he has decided to 发布 it as a standalone web component that anyone can use in their websites.

Screenshot of a 灯光 卡片 showing a round slider.

Shout out to @iantrich who has been on fire in recent weeks squashing a ton of bugs and adding some nice features to improve the Lovelace experience. And a shout out to @SeanPM5 who has been bringing UX bugs and improvements to our attention. Our 前端 team is seriously awesome.

Unused 实体 has been moved into the 配置 UI section and completely revamped by @bramkragten. It's now a table, you can see a lot more info, you can sort it. If you are using Lovelace storage mode, you can select 实体 and add them to your UI directly from that screen.

Screenshot of the new unused 实体 page. Screenshot of the new unused 实体 page.

Now that we have a data table component, Bram also went ahead and used it in a new 设备 page. This page, still experimental, will allow 用户 to see a list of all their 设备 and sort them by manufacturer, 区域 or battery %. The goal is to create a one stop shop for 设备 management.

Screenshot of the new 设备 page. Screenshot of the new 设备 page.

And there is a ton more, here are some of the other highlights:

  • Allow subscribing to an MQTT topic inside the MQTT dev tools @bramkragten
  • Option to display last changed in glance-卡片 @iantrich
  • Add 图像 option to glance 卡片 实体 @iantrich
  • Allow controlling timer 实体 from the more info dialog @iantrich
  • Fill example data in dev tools @bramkragten
  • Stop effect in more-info-灯光 @iantrich
  • Add vibration on mobile when controlling 实体 @bramkragten
  • 更新 Home Assistant 日志 when activating the info developer tool tab @bramkragten

从 Python 启动 Home Assistant Cast

Home Assistant now supports opening Home Assistant Cast from the 后端. It is available as the 服务 cast.show_lovelace_view. This allows you to open a view on your Chromecast as part of an 自动化. For example, show the frontdoor and who is home when your doorbell rings.

Note that Home Assistant Cast requires your Home Assistant 安装 to be accessible via https://. If you're using Home Assistant Cloud, you don't need to do anything. Otherwise you must make sure that you have configured the base_url for the http integrations.

Hass.io

Hass.io is now able to work with your secrets stored in Home Assistant. So now you are able to use !secret my_value inside 插件 options like you can do inside configuration.yaml. For more info about how to define secrets, check the docs.

We have published a 发布 candidate of HassOS that is compatible with the new 树莓派 4. Download it here.

其他消息

Home Assistant had a booth this year at the CEDIA home tech trade show. We spend a lot of time talking to manufacturers about local APIs, official 集成 and better support for 开源 systems.

We also had some great drinks in the evenings with companies that integrate with Home Assistant. In this picture Konnected.io and Senic.

@timmo has released 版本 2.0 of his Home 面板. This is an alternative 用户 interface for Home Assistant.

New 集成

New Platforms

发布 0.99.1 - September 19

发布 0.99.2 - September 19

Forgot to include 前端 更新 99.1.

发布 0.99.3 - September 25

如果你需要帮助……

……欢迎随时使用我们非常活跃的论坛,或者加入我们的 聊天频道

反馈问题

如果这次发布引入了问题,请前往我们的 issue tracker 提交反馈。请务必填写 issue 模板中的所有字段。

Backward-incompatible changes

  • Unifi - Removes support of directly configuring the UniFi platform for 设备 trackers. Use unifi: instead. Extra 配置 through config entry options from the GUI (see 发布 notes 0.98 for example) and through unifi 配置 in 配置.yaml will continue to work.- (@Kane610 - #26587) (unifi docs)

    # This will no longer work
    device_tracker:
      - platform: unifi
    
    # This does
    unifi:
  • Plex

    • 配置 is moved from the 媒体播放器 and 传感器 platforms to the plex component. Existing 配置 will need to be updated. The remove_unavailable_clients and client_remove_interval options for 媒体播放器 实体 have been removed as the functionality has limited value now that the 实体 registry exists. - (@jjlawren - #26488) (discovery docs) (plex docs)
    • Logins using a username/密码/servername are no longer supported on the Plex 传感器 platform. This functionality will be partially restored in followup PRs which add a 配置 flow and external 认证. - (@jjlawren - #26444) (plex docs)
    • Remove default host for Plex config. - (@jjlawren - #26583) (plex docs)
      • Removes default value of host config parameter.
      • Requires one of host or token in the 配置.

    New example 配置 entry:

    plex:
      host: 192.168.1.5
      token: mysecrettoken
      media_player:
        use_episode_art: false
  • PiHole - This change requires existing 配置 for the pi_hole 集成 to be moved from 传感器 platform key to a pi_hole top level key. This allows 服务, 开关, and possibly other 实体 to be added to the 集成 in a future pull request. - (@johnluetke - #25837) (pi_hole docs)

    • monitored_conditions is removed
    • pi_hole 配置 block defines host, port, location and ssl options

    New example 配置 entry:

    pi_hole:
      host: pi.hole
  • Jewish 日历 - This platform has been moved to an 集成. 自动化 based on sensor.issur_melacha_in_effect comparison to True/False need to be updated to use binary_sensor.issur_melacha_in_effect on and off 状态. - (@tsvi - #26200) (jewish_calendar docs)

    New example 配置 entry:

    jewish_calender:
      language: hebrew
      diaspora: False
  • Homematic IP - Unify device_state_attributes handling for Homematic IP Cloud. The naming of 实体 属性 has been corrected (missing underscore) to follow the standards:

    • moisture detected --> moisture_detected
    • motion detected --> motion_detected
    • power mains failure --> power_mains_failure
    • 在场 detected --> presence_detected
    • smoke detector 报警 --> smoke_detector_alarm
    • water level detected --> water_level_detected
    • window 状态 --> window_state

    (@SukramJ - #26449) (homematicip_cloud docs)

  • Linky - This platform has been moved to an 集成. - (@Quentame - #26076)

    New example 配置 entry:

    linky:
      - username: email_address
        password: password
  • Radiotherm - 更新 温控 属性. 自动化 may break if the 用户 is checking against the previous "mode" or "风扇" 属性 or previous mode or 风扇 属性 values. - (@dieselrabbit - #26465) (radiotherm docs)

    • The old "mode" 属性 is now supported via "hvac_action" 属性.
    • The old "风扇" 属性 now called "fan_action" to follow "hvac_action" .
  • SolarEdge - Monitored 条件 are no longer supported. - (@Cereal2nd - #26282) (solaredge docs)

  • SMA - Removes deprecated SMA config - (@balloob - #26306) (sma docs)

Beta Fixes

All changes