Is it possible to connect a ”sleep” status and other custom data on users in HA? The sleep status would be triggered by the sleep focus mode on the users iPhone as an example. Is this possible in order to check the user status in automations instead of checking each phone? So I can check something like if X is asleep instead of checking if iPhone X is asleep in order to more easily change phones? I know that this is possible for tracking if a person is home but can I use the same logic for other details as well?
You can add static attributes to entities (including person entities) using customize:
Here’s how I recommend linking a notify action with a person entity; you can use the same concept to link a “person’s status” sensor to a person entity: