Some KNX devices provide a blocking feature, where certain functionality can be restricted.
For example if a motion sensors is blocked, it doesn't sense motion anymore.
This sounds great but unfortunately this feature is not supported by HomeKit.
We have to use a switch to represent the blocking state.
If for example a motion sensor has a switch associated with it, the Apple Home app shows the switch status in the overview.
If we map the blocking state to the switch state, the Home app shows
"Powered Off" if the KNX device is unblocked
"Powered On" if the KNX device is block
This doesn't feel right.
So we invert the state so that the Home app shows
Some KNX devices provide a blocking feature, where certain functionality can be restricted. For example if a motion sensors is blocked, it doesn't sense motion anymore.
This sounds great but unfortunately this feature is not supported by HomeKit. We have to use a switch to represent the blocking state. If for example a motion sensor has a switch associated with it, the Apple Home app shows the switch status in the overview.![IMG_DC61DD68EC51-1 2](https://user-images.githubusercontent.com/125641/80204212-bd3e1e00-8628-11ea-8b7c-4ece78eb5e6d.jpeg)
If we map the blocking state to the switch state, the Home app shows
This doesn't feel right. So we invert the state so that the Home app shows
This makes much more sense.