We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 85e3e68 commit 5ef5560Copy full SHA for 5ef5560
custom_components/sigen/binary_sensor.py
@@ -63,7 +63,7 @@ class SigenergyBinarySensorEntityDescription(
63
icon="mdi:battery-negative", # Standard HA icon
64
source_key="plant_ess_power",
65
value_fn=lambda data: (val := data.get("plant_ess_power")) \
66
- is not None and Decimal(str(val)) < Decimal("0.01"),
+ is not None and Decimal(str(val)) < Decimal("-0.01"),
67
),
68
SigenergyBinarySensorEntityDescription(
69
key="plant_exporting_to_grid",
custom_components/sigen/manifest.json
@@ -21,5 +21,5 @@
21
"loggers": ["custom_components.sigen"],
22
"quality_scale": "custom",
23
"requirements": ["pymodbus>=3.0.0"],
24
- "version": "1.0.6"
+ "version": "1.0.7"
25
}
0 commit comments