I searched the community forum for ‘invert binary sensor’ and the commonly suggested solution is to create a template binary_sensor to invert the output of your KNX sensor.
There is also a Feature Request to provide binary_sensors with an invert: true
option. You may wish to vote for it.
The reason I asked if you were using MQTT Binary Sensor is because you can invert it by modifying its payload_on
and payload_off
options.