Fix removal of discovery results (#16232)

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
Signed-off-by: Ciprian Pascu <contact@ciprianpascu.ro>
This commit is contained in:
Jacob Laursen 2024-01-12 09:09:14 +01:00 committed by Ciprian Pascu
parent ffd316776b
commit deece051e8

View File

@ -84,6 +84,6 @@ public class IndegoDiscoveryService extends AbstractThingHandlerDiscoveryService
@Override
public void dispose() {
super.dispose();
removeOlderResults(Instant.now().getEpochSecond());
removeOlderResults(Instant.now().toEpochMilli());
}
}