Code became much more useful once hooks made it follow my workflow instead of starting from scratch every session.
Once you've added a device, you can then control it from the Home Assistant dashboard. You can add as many areas and devices ...