Identify network interfaces by mac over name (#4416)

* Identify network interfaces by mac over name

* Refactor long if statement into method
This commit is contained in:
Mike Degatano
2023-07-06 16:26:19 -04:00
committed by GitHub
parent 96d5fc244e
commit abbf8b9b65
18 changed files with 434 additions and 334 deletions

View File

@@ -593,3 +593,10 @@ class MountNotFound(MountError):
class MountJobError(MountError, JobException):
"""Raise on Mount job error."""
# Network
class NetworkInterfaceNotFound(HassioError):
"""Raise on network interface not found."""