Repository navigation
v1.5.0
What's new in v1.5.0
Explicit sign-convention declaration
Replace the binary invert flag with a self-documenting positive_means field:
battery:
positive_means: charging # or 'discharging'
grid:
positive_means: importing # or 'exporting'The old invert: true still works as an alias for backward compatibility.
Battery status entity
Add battery.status_entity to read a text sensor ("Charging" / "Discharging" / "Idle") for the stat-panel state label — no more inferring state from entity name patterns.
battery:
status_entity: sensor.battery_statusAuto-derived grid→battery flow
When no explicit to_battery_entity is configured, the card now automatically computes how much grid power is going to the battery:
gridToBattery = batteryCharging − solarToBattery
Grid→Home is corrected accordingly. Works with a single grid.entity — no extra sensors required.
Accurate home stat panel
The Home stat panel now shows load.entity directly when configured, rather than deriving it from flow sums.
Role-based state labels
State labels (Generating / Charging / Discharging / Importing / Exporting) are now derived from the panel's semantic role, not the entity ID string. Integrations with non-standard entity names (e.g. garage_dyness_cygni_power) now display correctly.