black formatting

This commit is contained in:
tomaae 2020-12-02 15:38:17 +01:00
parent 41f9ad97c9
commit 966bdf2f57
4 changed files with 23 additions and 14 deletions

View file

@ -287,13 +287,13 @@ class MikrotikControllerPortSwitch(MikrotikControllerSwitch):
mod_value = True
self._ctrl.set_value(path, param, value, mod_param, mod_value)
if self._data["poe-out"] == "auto-on":
path = "/interface/ethernet"
self._ctrl.set_value(path, param, value, "poe-out", "off")
await self._ctrl.async_update()
# ---------------------------
# MikrotikControllerNATSwitch
# ---------------------------