diff --git a/custom_components/sonnenbatterie/sensor.py b/custom_components/sonnenbatterie/sensor.py index 697d6e0..bea15c7 100644 --- a/custom_components/sonnenbatterie/sensor.py +++ b/custom_components/sonnenbatterie/sensor.py @@ -109,7 +109,7 @@ def generateDeviceInfo(configentry_id,systemdata): class SonnenBatterieSensor(CoordinatorEntity,SensorEntity): def __init__(self,id,deviceinfo,coordinator,name=None): self._attributes = {} - self._state = "NOTRUN" + self._state = "0" self._deviceinfo=deviceinfo self.coordinator=coordinator self.entity_id = id