Hi,
I would like to build an outdoor alarm system.
When a person is detected trough one of our Unifi cameras it should set a knx adress to “true” and when the person left the property back to “false”
The first try works ok, but only for a short periode of time, then the knx adress gets stuck to “true”. I do not know why. The unifi entity changes back to “false”

Can somebody help me, maybe there is a much better way than using expose:
expose:
- type: binary
entity_id: binary_sensor.terasse_ost_4k_person_erkannt
address: "4/5/0"
default: false
cooldown: 2
- type: binary
entity_id: binary_sensor.terasse_sud_4k_person_erkannt
address: "4/5/1"
default: false
cooldown: 2
- type: binary
entity_id: binary_sensor.hausseite_sud_person_erkannt
address: "4/5/2"
default: false
cooldown: 2
Thanks a lot
Mathias