mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-07-28 03:26:32 +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:
parent
3335bad9e1
commit
ec19bd570b
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user