There are some unwanted side effects caused by enabling/disabling the POE Port Power using this integration:
Initial settings:
| Port Priority | Low |
| Power Limit Type | User |
| Power Limit (W) | 30.0 |
| Detection Type | IEEE 802 |
| Longer Detection Time | Disable |
Settings after switching off and on again:
| Port Priority | Low |
| Power Limit Type | None |
| Power Limit (W) | 16.2 |
| Detection Type | |
| Longer Detection Time | Get Value Fault |
The switch probably expects a full set of data in the posted form and overwrites the missing attributes with default/empty values. A way to solve this is to fetch the form first, copy the current settings and only change the port power value before posting back the entire form.
There are some unwanted side effects caused by enabling/disabling the POE Port Power using this integration:
Initial settings:
Settings after switching off and on again:
The switch probably expects a full set of data in the posted form and overwrites the missing attributes with default/empty values. A way to solve this is to fetch the form first, copy the current settings and only change the port power value before posting back the entire form.