mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-31 14:37:49 +00:00
Update xdrv_10_scripter.ino
This commit is contained in:
parent
768c264d04
commit
8f2ba87ced
@ -1646,6 +1646,20 @@ chknext:
|
||||
goto exit;
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef USE_SHUTTER
|
||||
if (!strncmp(vname,"sht[",4)) {
|
||||
GetNumericResult(vname+4,OPER_EQU,&fvar,0);
|
||||
uint8_t index=fvar;
|
||||
if (index<=shutters_present) {
|
||||
fvar=Settings.shutter_position[index-1];
|
||||
} else {
|
||||
fvar=-1;
|
||||
}
|
||||
len+=1;
|
||||
goto exit;
|
||||
}
|
||||
#endif
|
||||
break;
|
||||
case 't':
|
||||
if (!strncmp(vname,"time",4)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user