Someone on a pogo stick in the backyard? Vertically.
Your pet running around in the backyard? Probably horizontally.
Your friend planking in the backyard? Definitely horizontally. Not at all, get new friends.
Also me: Not sleeping but consuming memes in the middle of the night about a guy not sleeping because he thinks of a fictional guy not sleeping in order to fight crime.
If you’re not afraid of some doing some configurations, then you might want to check out Home Assistant. I got completely rid of my Hue bridge and am using a Raspberry Pi with HA and a ZigBee Dongle instead (there are also other setup options, and you can also still use your Hue bridge instead of a Dongle to control the lights). Wouldn’t go back, it’s so much more versatile and cleaner to use.
Then find a blueprint (e.g. like this one), or create an automation from scratch for your individual needs.