mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-12-24 20:35:55 +00:00
Include serial device node links in container device mapping to allow for persistent names in the HA serial config (#944)
This commit is contained in:
@@ -38,6 +38,7 @@ class Hardware:
|
||||
for device in self.context.list_devices(subsystem='tty'):
|
||||
if 'ID_VENDOR' in device or RE_TTY.search(device.device_node):
|
||||
dev_list.add(device.device_node)
|
||||
dev_list.extend(device.device_links)
|
||||
|
||||
return dev_list
|
||||
|
||||
|
||||
Reference in New Issue
Block a user