Skip to content

Commit

Permalink
Update fusionsolarapp_interface.sh
Browse files Browse the repository at this point in the history
Add changes to repair error found in #19
  • Loading branch information
BlazejosP authored Aug 20, 2021
1 parent 99342ba commit c5b82c9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fusionsolarapp_interface.sh
Original file line number Diff line number Diff line change
Expand Up @@ -498,7 +498,7 @@ Devices_list_menu() {

getDeviceKPI_menu() {

if [ $3 == "String_Inverter" ] || [ $3 = "Residential_inverter" ] || [ $3 = "Battery" ];
if [ $3 == "String_Inverter" ] || [ $3 == "Residential_inverter" ] || [ $3 == "Battery" ];
then
Our_menu_getDeviceKPI=$($DIALOG --ok-label "Browse" --extra-button --extra-label "Back" --cancel-label "Logout" --title "Device $1: $2" \
--backtitle "Device $1: $2" \
Expand Down Expand Up @@ -552,7 +552,7 @@ then
fi


elif [ $3 == "EMI" ] || [ $3 = "Grid_meter" ] || [ $3 = "Power_Sensor" ];
elif [ $3 == "EMI" ] || [ $3 == "Grid_meter" ] || [ $3 == "Power_Sensor" ];
then
Our_menu_getDeviceKPI=$($DIALOG --ok-label "Browse" --extra-button --extra-label "Back" --cancel-label "Logout" --title "Device $1: $2" \
--backtitle "Device $1: $2" \
Expand Down

0 comments on commit c5b82c9

Please sign in to comment.