mirror of
https://github.com/tomaae/homeassistant-mikrotik_router.git
synced 2025-06-25 10:18:43 +02:00
black formatting
This commit is contained in:
parent
7b616aee19
commit
ab97fa60f7
2 changed files with 6 additions and 3 deletions
|
@ -654,8 +654,11 @@ class MikrotikControllerData:
|
|||
"port-mac-address"
|
||||
] = f"{vals['port-mac-address']}-{vals['name']}"
|
||||
|
||||
if "sfp-shutdown-temperature" in vals and vals["sfp-shutdown-temperature"] != "":
|
||||
#_LOGGER.warning("!!!!!!!SFP Port %s", uid)
|
||||
if (
|
||||
"sfp-shutdown-temperature" in vals
|
||||
and vals["sfp-shutdown-temperature"] != ""
|
||||
):
|
||||
# _LOGGER.warning("!!!!!!!SFP Port %s", uid)
|
||||
self.data["interface"] = parse_api(
|
||||
data=self.data["interface"],
|
||||
source=self.api.path("/interface/ethernet"),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue