fix: pass config to prepareEntityData to ensure correct activity source

This commit is contained in:
Nicole 2025-11-19 21:15:20 +01:00
parent 25f6b8fc8e
commit 626f5399cb

View file

@ -161,7 +161,7 @@ class MapBadgeCard extends HTMLElement {
// Backup attempt after longer delay
setTimeout(() => {
if (this._dataFetcher.hasData()) {
this._messenger.sendData(this._dataFetcher.prepareEntityData());
this._messenger.sendData(this._dataFetcher.prepareEntityData(this._configManager.getConfig()));
}
}, 2000);
};