From 589ce01ecde67a808127bdd6b93a2114de46cb12 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=8D=E6=B1=82=E5=9C=A3=E5=89=91?= Date: Mon, 2 Feb 2026 16:26:13 +0800 Subject: [PATCH] fix bug --- custom_components/jackery/sensor.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/custom_components/jackery/sensor.py b/custom_components/jackery/sensor.py index c131aa0..2d42d3c 100644 --- a/custom_components/jackery/sensor.py +++ b/custom_components/jackery/sensor.py @@ -856,8 +856,6 @@ class JackerySensor(SensorEntity): if self._sensor_id == "grid_net_power" and value is None: # Keep last value when CT data is temporarily missing - self._attr_available = False - self.async_write_ha_state() return # Process specific conversions