Skip to content

Commit

Permalink
added 'EFFECTIVELIMITSOC'
Browse files Browse the repository at this point in the history
  • Loading branch information
marq24 committed Feb 6, 2025
1 parent ea44127 commit 99243ec
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 2 deletions.
9 changes: 8 additions & 1 deletion custom_components/evcc_intg/const.py
Original file line number Diff line number Diff line change
Expand Up @@ -919,7 +919,14 @@ class ExtSwitchEntityDescription(SwitchEntityDescription):
# unit_of_measurement=UnitOfTime.MINUTES,
# device_class=None
# ),

ExtSensorEntityDescriptionStub(
tag=Tag.EFFECTIVELIMITSOC,
icon="mdi:battery-charging",
state_class=SensorStateClass.MEASUREMENT,
native_unit_of_measurement=PERCENTAGE,
device_class=None,
suggested_display_precision=0
),
ExtSensorEntityDescriptionStub(
tag=Tag.PHASEACTION,
icon="mdi:numeric",
Expand Down
2 changes: 1 addition & 1 deletion custom_components/evcc_intg/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@
"iot_class": "local_polling",
"issue_tracker": "https://github.com/marq24/ha-evcc/issues",
"requirements": [],
"version": "2025.2.0"
"version": "2025.2.1"
}
2 changes: 2 additions & 0 deletions custom_components/evcc_intg/translations/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,8 @@

"connectedduration": {"name": "Angeschlossen seit"},

"effectivelimitsoc": {"name": "Effektives Ladelimit (SOC)"},

"phaseaction": {"name": "Phasen Aktivität [CODE]"},
"phaseaction_value": {"name": "Phasen Aktivität"},
"phaseremaining": {"name": "Phasen verbleibend"},
Expand Down
2 changes: 2 additions & 0 deletions custom_components/evcc_intg/translations/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -283,6 +283,8 @@

"connectedduration": {"name": "Connected duration"},

"effectivelimitsoc": {"name": "Effective Charging limit (SOC)"},

"phaseaction": {"name": "Phases activity [CODE]"},
"phaseaction_value": {"name": "Phases activity"},
"phaseremaining": {"name": "Phases remaining"},
Expand Down

0 comments on commit 99243ec

Please sign in to comment.