@Avi_Cohen wrote:
Have question regarding person and group,
by using person i get better presence accurancy as
i can father couple of device_tracking for each person ,
Then I want to collect persons under group
so in my automation i be able to check if group is home for example .person.yaml
#person: - name: karin id: 321 device_trackers: - device_tracker.life360_karin - device_tracker.karin - device_tracker.mi_9t_pro - name: avi id: 123 device_trackers: - device_tracker.life360_avi - device_tracker.avi - device_tracker.vtr_l29_2 ``` group.yaml ``` family: name: family entities: - person.avi - person.karin ``` Then , in automation i want to check if group is home/not home, and avoid AND condition which i have . i.e: ``` condition: condition: and conditions: - condition: state entity_id: device_tracker.avi state: 'not_home' for: minutes: 4 - condition: state entity_id: device_tracker.karin state: 'not_home' for: minutes: 4
Posts: 6
Participants: 2