Virtual lights or semaphores

I am in the process of writing an app based on the rest API. Is there somehow a way to create virtual lights or semaphores that can be used to manage e.g. a system status. Examples are: I “am on vacation” or “Alarms should be signaled”. I am grateful for any idea.