Move from MQTT 1.14 to 2.5.12

I know that my English is not the best. But this is my goal:

I just think we do it the other way round with commands and states. Local commands and remote states. Remote is my VM and local is one Raspberry Pi.

Edit: No, it is the same direction remote/VM subscribes commands and publishes states. Local/Raspberry Pi subscribes states and publishes commands.

I’ll have another look at DSL and Python. So I must have missed something and tried something twice, or what exactly was the point?

Edit: I tested now both separately and it does not work.