Hi,
The full dashboard configuration is posted in an earlier post. The donut of sensors uses:
- type: custom:apexcharts-card
Have a look at this post to get the sensor data: Sensor - Count the installation (Mine is bigger than yours-sensor) - #27 by klogg
As for Ubiquiti, as I also said earlier this will depend on a number of factors. Start by having a look here: Monitor unifi Dream Machine (Pro) - #21 by ruaandeysel