Skip to content

Commit

Permalink
rephrase
Browse files Browse the repository at this point in the history
  • Loading branch information
barbudor committed Nov 23, 2024
1 parent 79acdfb commit c6fa3b2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tasmota/tasmota_xdrv_driver/xdrv_71_magic_switch.ino
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,8 @@ void MagicSwitchLoop()
}

void MagicSwitchSetPower(void) {
// In case of any power state change, whatever is the source, the masking windows is restarted because
// it can happen that load switching can create mains disturbances that is understood as a MagicSwitch pulse
// It can happen that on relay switch, disturbances on the mains is falsy see as a MagicSwitch pulse
// This restart the masking windows on every power change to avoid that effect
MagicSwitch->switch_state = MAGICSWITCH_MASKING_WINDOW_LEN;
}

Expand Down

0 comments on commit c6fa3b2

Please sign in to comment.