actually was easier than I thought..
not tested with >1 switch
use at your own risk.
https://www.dropbox.com/s/g8jycdwizov1y7w/uniFiAP-v-7.6.47.zip?dl=1But if you could would be nice
there are now the following states (0/1/2/3/4) added per unifi device (16 more states)
<State id="ageSWITCH_2">
<State id="SW_2_ip_port">
<State id="inListSWITCH_2">
<State id="uptimeSWITCH_2">
if you just use one e.g. 0 all 1/2/3/4 states will be blank
you will need to add the 2. switch in config (ip#) and set enable = True.. rest should be automatic.
one issue left:
If you use switch info for up/down/expire.. it will look only at one switch at a time and make the decision.
So when you move a device from one switch to the other it might expired quicker as the timer might run out at one while it is still active at the other switch..
This will need to wait until I have my switches.
Karl