This commit is contained in:
Hans Karlinius
2024-11-25 23:29:52 +01:00
parent 50468ac637
commit 3678023668
2 changed files with 3 additions and 2 deletions

View File

@@ -9,4 +9,5 @@ fi
my_array=($(bashio::config 'usbdevices'))
my_array+=('one') # Add a new item to the array
#my_array+=({ 'name': 'one', 'use': false}) # Add a new item to the array
bashio::config::update 'usbdevices' "${my_array[@]}"
#bashio::config::update 'usbdevices' "${my_array[@]}"
bashio::config 'usbdevices' "${my_array[@]}"