State of Home (mode)

I would love to see a Home state/mode function, similar to User state, but independent of individual users, but a possibillity to automaticly set modes when the last person leaves, first comes home etc.
With an icon on top of the apps and pull down for manual selection of modes.
With different modes for the home like Home, Away, Night, Holliday etc.
With when, and, and then flowcards.
And a tool where you can select what happens when activating a state.
Example: when selecting holliday, set all climate to 5C, and turn off all in selected areas and selected devices. And even better turn selected lights on/off at random times.