This page describes how to use UniFi Protect motion detection events, or alarms, to trigger automations in Home Assistant. Written by Patrick Felstead, September 2024 ...
alarm/get Sensor true will trigger a publish event of the current alarm state for a UniFi Protect sensor. ambientlight/get Sensor true will trigger a publish event of the ambient light level, in lux, ...