From df6a678043a2599d307c51972ac2cfd91983c139 Mon Sep 17 00:00:00 2001 From: xiaoshi <115949669+xiaoshi930@users.noreply.github.com> Date: Fri, 28 Nov 2025 12:15:25 +0800 Subject: [PATCH] Update xiaoshi-device-ha-info-card.js --- xiaoshi-device-ha-info-card.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/xiaoshi-device-ha-info-card.js b/xiaoshi-device-ha-info-card.js index 08e17d3..669e0e3 100644 --- a/xiaoshi-device-ha-info-card.js +++ b/xiaoshi-device-ha-info-card.js @@ -981,6 +981,10 @@ export class XiaoshiHaInfoCard extends LitElement { if (confirmed) { this._executeUpdate(update); + // 延迟3秒后刷新数据,给更新操作足够时间完成 + setTimeout(() => { + this._loadUpdateData(); + }, 1000); } }