When you want to connect an IoT device to anything (or, for that matter, anything to anything), you should take a serious look at Node-RED, a free, open source visual process wiring system from IBM ...
Home Assistant may have a beginner-friendly UI, but you shouldn’t underestimate its capabilities. Thanks to integrations (especially those of the HACS variety), blueprints, and trigger-action ...