mirror of
https://github.com/aljazceru/addons.git
synced 2025-12-18 21:54:20 +01:00
Fix deconz relative device path (#679)
This commit is contained in:
@@ -1,5 +1,9 @@
|
||||
# Changelog
|
||||
|
||||
## 3.3
|
||||
|
||||
- Fix relative to absolut device lookup
|
||||
|
||||
## 3.2
|
||||
|
||||
- Bump deCONZ to 2.05.67
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "deCONZ",
|
||||
"version": "3.2",
|
||||
"version": "3.3",
|
||||
"slug": "deconz",
|
||||
"description": "Control a ZigBee network with ConBee or RaspBee by Dresden Elektronik",
|
||||
"arch": ["amd64", "armhf"],
|
||||
|
||||
@@ -25,7 +25,7 @@ WEBSOCKET_PORT=$(bashio::addon.port 8080)
|
||||
|
||||
# Lookup udev link
|
||||
if [ -L "${DECONZ_DEVICE}" ]; then
|
||||
DECONZ_DEVICE="$(readlink "${DECONZ_DEVICE}")"
|
||||
DECONZ_DEVICE="$(readlink -f "${DECONZ_DEVICE}")"
|
||||
fi
|
||||
|
||||
# Load debug values
|
||||
|
||||
Reference in New Issue
Block a user