Homeassistant - Exposure of binary_sensor state to the KNX bus

Recently i wanted to expose a binary_sensor state from Homeassistant to the KNX bus of my home. For this i wrote a simple automation blueprint: