-
SurveyJS
Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
As for the "Turn on TV", "Turn off TV", "Play Xbox", "Play PS4" stuff, you can create buttons for them, rather than using switches, using something like Button Card or something. Personally, I think pulling out a phone, waiting for some app to load, scrolling around to whatever thing and pressing a button is just stupid and slow, so I have a few physical buttons around my house. The Hank 4 button/8 scene remote is good, I have a few of them. I've also got some much cheaper Sonoff RM433 8 button remotes that I integrate with rtl_433. Each of my Inovelli Red dimmers also has 11 possible "buttons" via 2/3/4/5x tap and the config button single tap. So I've got zero-fuss buttons to hit for things that aren't easily automated, like "play Xbox" or whatever. It's so much faster to just hit a real button than to fumble around with a phone app. Plus, our phones are usually not nearby anyway.