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