mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-11-13 21:10:29 +00:00
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:
@@ -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."""
|
||||
|
||||
Reference in New Issue
Block a user