Hi @donnib it would be great if you would share your component with us.
I’ve got the exact same idea / problem. My xiaomi motion sensors -> Deconz-> HA.
Polling them every x seconds does work but I don’t like it.
As a workaround I have created a node-red workflow. It listens on websocket events and sends those events trough MQTT to HA.
Your solution seems better to me, as it doesn’t needs node-red.