diff --git a/packages/modules/display_themes/cards/source/src/App.vue b/packages/modules/display_themes/cards/source/src/App.vue index 251f0544e..b0cc08418 100644 --- a/packages/modules/display_themes/cards/source/src/App.vue +++ b/packages/modules/display_themes/cards/source/src/App.vue @@ -90,7 +90,11 @@ export default { let data = JSON.parse(params.get("data")); Object.entries(data).forEach(([key, value]) => { console.log("updateSetting", key, value); - this.mqttStore.updateSetting(key, value); + if (key.startsWith("parentChargePoint")) { + this.mqttStore.updateSetting(key, parseInt(value)); + } else { + this.mqttStore.updateSetting(key, value); + } }); } }