Hi Steve,
for the communication between HomeAssistant and your Siemens Logo, I would personally prefer NodeRed as “middleware”.
If you run HomeAssistant with supervisor, you can search for the NodeRed Addon - and install it.
NodeRed is a Java based flow editor, which does nicely integrate into HomeAssistant - and there are integrations for nearly everything available in NodeRed.
Even an Integration to talk with your Simenes Logo.
Here’s a description on how to install the Siemens Logo Contribution into NodeRed:
https://flows.nodered.org/flow/272a6d2104474c68f7b0e01bae025ead
There, you should also find an explanation what you need to configure in your Logo to communicate with it.
With this integration, I have managed to build a “simple” Monitoring system for two terrariums, that will be controlled with the Logo (before I’ve started with HomeAssistant…)
To send commands to your Logo, you need to use NI blocks (Network Input)… you can’t directly trigger I Blocks (Logo-Input) nor controll Output (Q) blocks directly.