mirror of https://github.com/arendst/Tasmota.git
Merge pull request #7494 from to-scho/hotfix/shuttermode_interlock_update
initialize shutters when interlock is changed
This commit is contained in:
commit
50717849bb
|
@ -1394,6 +1394,11 @@ void CmndInterlock(void)
|
|||
SetDevicePower(power, SRC_IGNORE); // Remove multiple relays if set
|
||||
}
|
||||
}
|
||||
#ifdef USE_SHUTTER
|
||||
if (Settings.flag3.shutter_mode) { // SetOption80 - Enable shutter support
|
||||
ShutterInit(); // to update shutter mode
|
||||
}
|
||||
#endif // USE_SHUTTER
|
||||
}
|
||||
Response_P(PSTR("{\"" D_CMND_INTERLOCK "\":\"%s\",\"" D_JSON_GROUPS "\":\""), GetStateText(Settings.flag.interlock));
|
||||
uint32_t anygroup = 0;
|
||||
|
|
Loading…
Reference in New Issue