Homey Community Forum

Push notification only to home users

Do anyone know if there is a quick and easy way to only send push notifications to the users who are at home?

I guess you need a flow for every user.
First flow:
Action: Set variable ‘push_message’ = “Text to send to users”
Action: Start flow: User1 (Delay 2s)
Action: Start flow: User2 (Delay 2s)
Action: Start flow: User3 (Delay 2s)
etc etc

Flow User1
Trigger ‘When this flow is started’
Condition: “When user User1 is home”
Action: “Send push notification” to “User1” and text = ‘push_message’

Flow User2
Trigger ‘When this flow is started’
Condition: “When user User2 is home”
Action: “Send push notification” to “User2” and text = ‘push_message’

Flow User3
Trigger ‘When this flow is started’
Condition: “When user User3 is home”
Action: “Send push notification” to “User3” and text = ‘push_message’