mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-24 11:16:34 +00:00
Merge pull request #13791 from stefanbode/patch-2
Allow tilt change with wall buttons
This commit is contained in:
commit
6460dc5a46
@ -479,6 +479,10 @@ void ShutterPowerOff(uint8_t i)
|
||||
if (Shutter[i].direction !=0) {
|
||||
Shutter[i].direction = 0;
|
||||
}
|
||||
if (Shutter[i].real_position == Shutter[i].start_position) {
|
||||
//AddLog(LOG_LEVEL_DEBUG, PSTR("SHT: Update target tilt shutter %d from %d to %d"), i+1, Shutter[i].tilt_target_pos , Shutter[i].tilt_real_pos);
|
||||
Shutter[i].tilt_target_pos = Shutter[i].tilt_real_pos;
|
||||
}
|
||||
TasmotaGlobal.rules_flag.shutter_moved = 1;
|
||||
switch (Shutter[i].switch_mode) {
|
||||
case SHT_SWITCH:
|
||||
|
Loading…
x
Reference in New Issue
Block a user