I’m frustrated in building an automation that should inform all mobile-phones who are at home, that a window has to be closed.
The only thing I can do is to send the message to one phone.
I don’t find the possibility to set the “at home” condition referring to each mobile.
Do I have to buid an automation for each mobile individually?
This is my code so far…
- id: '1640862793872'
alias: Erinnerung an Fenster im Gäste WC
description: ''
trigger:
- platform: state
entity_id: binary_sensor.fensterkontakt_gaste_wc_access_control_window_door_is_open
for:
hours: 0
minutes: 15
seconds: 0
from: 'off'
to: 'on'
condition: []
action:
- service: notify.mobile_app_oneplus_a6003
data:
message: Das Fenster im Gäste WC muss geschlossen werden
title: Warnung!
mode: single