diff --git a/custom_components/xiaomi_gateway3/core/gateway3.py b/custom_components/xiaomi_gateway3/core/gateway3.py index 5e94dcc9..4de7617f 100644 --- a/custom_components/xiaomi_gateway3/core/gateway3.py +++ b/custom_components/xiaomi_gateway3/core/gateway3.py @@ -418,7 +418,7 @@ def process_ble_payload(self, device: dict, payload: dict): entity.update(payload) if self.stats_enable: - self.add_stats(device, 'ble') + self.add_stats(device) self.process_ble_stats(mac)