This allows to change the PoE mode of a single port, using ports overrides, without changing any other setting of the port, no matter how they are currently set.
The PoE switching method in the Home Assistant TP-Link Omada integration could then be changed from:
Hence without changing any of the port other settings.
The counterpart is that it uses one more API call to get the port status, and one more again if the port has no active overrides yet (in order to populate the neutral override settings with the port associated profile settings, which should mostly happen only once).
You're right, this is worth doing.
I already have an open PR on the HA integration to add gateway wan/lan connectivity sensors, so it will take a while before I can integrate this.
This allows to change the PoE mode of a single port, using ports overrides, without changing any other setting of the port, no matter how they are currently set.
The PoE switching method in the Home Assistant TP-Link Omada integration could then be changed from:
To:
Hence without changing any of the port other settings.
The counterpart is that it uses one more API call to get the port status, and one more again if the port has no active overrides yet (in order to populate the neutral override settings with the port associated profile settings, which should mostly happen only once).