black formatting

This commit is contained in:
tomaae 2021-04-12 10:01:21 +02:00
parent 7b616aee19
commit ab97fa60f7
2 changed files with 6 additions and 3 deletions

View file

@ -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"),