HomeKit Automations does not work properly
HomeKit Automations does not work properly

The Bug: There are added some motion sensors and wi-fi lights. Made an automation in HomeKit "When motion sensor detects smth -> Turn on the light". It works 5-10 times properly, after that - it doesn't work. Homebridge properly recognises information from zigbee motion sensor (motion detected), but automation does not starts. Bulbs are properly controlled from HomeKit all the time, information from sensors are correct too. I am not sure, that it is a HomeBridge bug, maybe it is a HomeKit bug, but all devices are integrated in HomeKit through Homebridge.


Environment:

* **Node.js Version**: v14.17.0
* **NPM Version**: v7.16.0
* **Homebridge Version**: v1.3.4
* **Operating System**: Raspbian
* **Process Supervisor**: hb-service
* **Zigbee Hardware**: cc2652p
* **MQTT Broker**: Mosquitto v1.5.7
* **MQTT Server**: Zigbee2MQTT v.1.19.1
* **MQTT Plugin**: homebridge-z2m
* **Motion Sensor**: Xiaomi MCCGQ01LM
* **Wi-Fi Lights**: Tuya-compatible NoName E14 RGBTW

<!-- Click the "Preview" tab before you submit to ensure the formatting is correct. -->
