refactor: Move persisters to monitor package and fix stale BLE device eviction

Move DeviceStatePersister and AapKeyPersister from reaction to monitor package since they are always-on infrastructure, not user-togglable reactions.

Add periodic ticker to BlePodMonitor to force stale device eviction when BLE scanner produces no results, fixing cached card not appearing after disconnect.
This commit is contained in:
darken
2026-04-02 15:14:47 +02:00
parent e91243e577
commit 360067b07e
5 changed files with 20 additions and 9 deletions
@@ -1,4 +1,4 @@
package eu.darken.capod.reaction.core
package eu.darken.capod.monitor.core
import eu.darken.capod.monitor.core.CachedDeviceState
import eu.darken.capod.monitor.core.DeviceMonitor