mirror of
https://github.com/tomaae/homeassistant-mikrotik_router.git
synced 2025-08-01 08:24:29 +02:00
black formatting
This commit is contained in:
parent
41f9ad97c9
commit
966bdf2f57
4 changed files with 23 additions and 14 deletions
|
@ -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
|
||||
# ---------------------------
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue