Control Ubiquiti AP LED via RESTful Switch

I recently upgraded my home theater setup and decided to place a Ubiquiti access point directly above the TV. While I appreciate the LED lights on the AP for most of the time, they become quite distracting when watching movies in the dark. Before switching to Home Assistant, I was using HomeSeer with the Ubiquiti plugin, which allowed direct control of the AP LEDs. However, I’ve noticed that Home Assistant’s Ubiquiti Network integration doesn’t support this feature out of the box.

I’ve read that it should be possible to achieve the same result using the RESTful Switch integration and the information from this API: Ubiquiti API Discussion. Unfortunately, my understanding of APIs and REST is quite limited, and I’m not sure where to start.

If anyone with more experience could guide me through the process, I would greatly appreciate it. I’m hoping to find a solution that allows me to toggle the LED lights manually or even automate them based on my movie-watching schedule. Thanks in advance for your help!