Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 95480

Groups removed(?) from 0.107

$
0
0

@MyKE wrote:

Hi,

According to https://www.home-assistant.io/blog/2020/03/18/release-107/#breaking-changes

Groups - Groups are NOT being removed, but the configuration options, services, and service options related to the (previously deprecated and now removed) States UI are now removed in this release.

I used to have a group of people where was check the state if this group is On/Off and according to this automation was initiated.

/config/groups.yaml

group_people:
  name: People
  icon: mdi:human-male-female
  entities:
    - input_boolean.personA_present
    - input_boolean.personB_present
    - binary_sensor.dt_router_personA
    - binary_sensor.dt_router_personB

Could you please explain how to use it in 0.107 version? Should I check manually all of these entities in my automation?

I used to have:

{% if trigger.to_state.state == “on” and trigger.entity_id == “group.group_people” %}

Should I use this instead:

{% if trigger.to_state.state == “on” and (trigger.entity_id == “input_boolean.personA_present” or trigger.entity_id == “input_boolean.personB_present” or trigger.entity_id == “binary_sensor.dt_router_personA” or trigger.entity_id == “binary_sensor.dt_router_personB”) %}

?

Screenshot 2020-03-23 at 08.50.24

Thank you for explanation.

Posts: 4

Participants: 3

Read full topic


Viewing all articles
Browse latest Browse all 95480

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>