Call Subscriptions?.Teardown() and Alarms?.Teardown() in the Disconnected branch of OnConnectionStateChanged so server-side session drops also quiesce the DataChanged and AlarmEvent handlers. Add Reattach() methods that idempotently re-hook the handlers; call them from the Connected branch so reconnects after a server-side drop restore live updates. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
10 KiB
10 KiB