mirror of
https://github.com/hassio-addons/bashio.git
synced 2025-05-06 12:01:25 +00:00
Add usb property to hardware endpoint (#50)
This commit is contained in:
parent
f2013b461a
commit
a3bb4d48ae
1 changed files with 8 additions and 0 deletions
|
@ -77,6 +77,14 @@ function bashio::hardware.gpio() {
|
||||||
bashio::hardware 'hardware.info.gpio' '.gpio[]'
|
bashio::hardware 'hardware.info.gpio' '.gpio[]'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# ------------------------------------------------------------------------------
|
||||||
|
# Returns a list of available USB devices on the host system.
|
||||||
|
# ------------------------------------------------------------------------------
|
||||||
|
function bashio::hardware.usb() {
|
||||||
|
bashio::log.trace "${FUNCNAME[0]}"
|
||||||
|
bashio::hardware 'hardware.info.usb' '.usb[]'
|
||||||
|
}
|
||||||
|
|
||||||
# ------------------------------------------------------------------------------
|
# ------------------------------------------------------------------------------
|
||||||
# Trigger udev device notifications from the host system.
|
# Trigger udev device notifications from the host system.
|
||||||
# ------------------------------------------------------------------------------
|
# ------------------------------------------------------------------------------
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue