Hmm, you are right, then I guess that is a feature request, and until then, just add all your members with “someone specific is asleep” in the AND column, just a little bit cumbersome if you have a lot of members though.
I had the same requirement and I only wanted to consider people who are currently at home. So I wrote the following script. Just copy paste it onto HomeyScript and you can use it. You cannot trigger a flow on this script, but if you trigger on “someone goes to sleep” and then run this, you get the same result.
// returns true if everyone who is at home, is asleep
let allUsers = await Homey.users.getUsers();
let result = true;
_.forEach(allUsers, user => {
if(user.present == true && user.asleep == false){
//there is someone at home who is awake
result = false;
}
});
return result;
Tested it. It doesn’t. But it quite simple to check if everybody is asleep with the card ‘a specific person is asleep’ and ad al family members in the and section