Load previous connection state
(self)
| 530 | return |
| 531 | |
| 532 | # Fresh establishment from no active network → propagate immediately. |
| 533 | if not active_ssid: |
| 534 | self._propagate_active_network(ssid) |
| 535 | return |
| 536 | |
| 537 | # Real change from one SSID to another → debounce. |
| 538 | now = time.time() |
| 539 | if self._pending_ssid_change != ssid: |
| 540 | self._pending_ssid_change = ssid |
| 541 | self._pending_ssid_first_seen = now |
| 542 | self.logger.info( |
| 543 | f"SSID change observed: {active_ssid!r} -> {ssid!r}, " |
| 544 | f"debouncing {self.ssid_change_debounce_s}s before switching " |
| 545 | f"network storage") |
| 546 | return |
| 547 |