groups are a powerful shortcut in setup and automation, however
putting a group among the entities of another group does not work. If you have a motion sensor group
you can put it in an alarm group with another sensor (door opening) but the activation of the alarm group
motion sensor will not trigger the activation of the alarm group. We have to repeat the sensors in the
occupancy_sensors: name: MVT directors entities: - binary_sensor.ewelink_ms01_1_ias_zone - binary_sensor.ewelink_ms01_2_ias_zone smoke_sensors: name: Smoke detectors entities: - binary_sensor.heiman_smokesensor_em_1_ias_zone - binary_sensor.heiman_smokesensor_em_2_ias_zone alarm_sensors: name: Alarm detectors entities: - groups.occupancy_sensors - binary_sensor.ewelink_ds01_1_ias_zone - groups.smoke_sensors
It would be good to be able to integrate a group as an entity (with the same management rules as an entity) but with taking care of circular groups.
In the absence of feasibility, it would perhaps be necessary to prohibit putting a group entity in the configuration for avoid malfunction.