Skip to content

Commit 7fcf0c1

Browse files
authored
Merge pull request #164 from andyblac/flashscript
[FlashScript] fix stock model for Shelly 2
2 parents 546e494 + 5ae19b5 commit 7fcf0c1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/flash_shelly.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ function shelly_model()
118118
echo "Shelly1";;
119119
SHSW-PM | switch1pm)
120120
echo "Shelly1PM";;
121-
SHSW-2 | switch2)
121+
SHSW-21 | switch2)
122122
echo "Shelly2";;
123123
SHSW-25 | switch25)
124124
echo "Shelly25";;
@@ -138,7 +138,7 @@ function shelly_model()
138138
switch1pm)
139139
echo "SHSW-PM";;
140140
switch2)
141-
echo "SHSW-2";;
141+
echo "SHSW-21";;
142142
switch25)
143143
echo "SHSW-25";;
144144
shelly-plug-s)

0 commit comments

Comments
 (0)