How to Enable/Disable Unifi AP using HA?

Hi

i want to create option to enable/disable UNIFI AP using HA
there an option to create automation/button/node red for this action ?