It has 4 strings for matching:
Match: unifi
Match: protect
Any:
Match: motion
The trigger works and the device that uses it get's a correct motion state.
But every time the trigger fires the log shows this error:
Code: Select all
MQTT Shims Debug message_handler: MQTT message ##UniFiProtectMotion## from UniFi Protect
MQTT Shims Debug GardenCam Detectie: processMessages: '##UniFiProtectMotion##' unifi/protect/CAFE1234ACBD/motion -> false
MQTT Shims Debug GardenCam Detectie: update uid: CAFE1234ACBD
MQTT Shims Debug GardenCam Detectie: multi_states_key=
MQTT Shims Debug GardenCam Detectie: Updating state to False
MQTT Shims Error Error in plugin execution runConcurrentThread:
File "plugin.py", line 148, in runConcurrentThread
File "plugin.py", line 175, in processMessages
File "plugin.py", line 651, in update
type: argument of type 'NoneType' is not iterable
MQTT Shims Error plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)