Update temp.inc.sh
This commit is contained in:
@@ -517,7 +517,7 @@ DAILYTEMP(){
|
|||||||
GET_TASMOTA_INFO(){
|
GET_TASMOTA_INFO(){
|
||||||
|
|
||||||
DEVICEINFO=$(/bin/python3 ${PW_INCFOLDER}/getInfo.tasmota.py "${PW_TASMOTA_ID[${1}]}" | sed -e "s/\[{'//g" | sed -e "s/}\]'//g" | sed -e "s/', '/~/g" | sed -e "s/': '/:/g")
|
DEVICEINFO=$(/bin/python3 ${PW_INCFOLDER}/getInfo.tasmota.py "${PW_TASMOTA_ID[${1}]}" | sed -e "s/\[{'//g" | sed -e "s/}\]'//g" | sed -e "s/', '/~/g" | sed -e "s/': '/:/g")
|
||||||
IFS=$','
|
IFS=$'~'
|
||||||
read -rd '' -a DEVICE_INFO <<<"${DEVICEINFO}"
|
read -rd '' -a DEVICE_INFO <<<"${DEVICEINFO}"
|
||||||
unset IFS
|
unset IFS
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user