Skip to content

Commit fb13091

Browse files
committed
add support to toggle OCPP on/off
1 parent f42880e commit fb13091

6 files changed

Lines changed: 14 additions & 5 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ Once the __car__ status will switch from `idle` (=1) to something different the
191191

192192
<a id="notimplementedkeys"></a>
193193

194-
### List of (currently) not handled API keys (21/172)
194+
### List of (currently) not handled API keys
195195

196196
Just as reference, here is the list of API keys that the current implementation of the integration will __not__ handle:
197197

custom_components/goecharger_api2/const.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2044,6 +2044,13 @@ class ExtSwitchEntityDescription(SwitchEntityDescription):
20442044
device_class=None,
20452045
icon="mdi:lock-open-outline",
20462046
entity_registry_enabled_default=False
2047+
),
2048+
ExtSwitchEntityDescription(
2049+
key=Tag.OCPPE.key,
2050+
#entity_category=EntityCategory.CONFIG,
2051+
device_class=None,
2052+
icon="mdi:nut",
2053+
entity_registry_enabled_default=True
20472054
)
20482055
]
20492056

custom_components/goecharger_api2/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,5 @@
1212
"iot_class": "local_push",
1313
"issue_tracker": "https://github.com/marq24/ha-goecharger-api2/issues",
1414
"requirements": ["packaging>=21.0", "msgpack>=1.1.2", "bcrypt>=4.2.0"],
15-
"version": "2026.6.1"
15+
"version": "2026.6.2"
1616
}

custom_components/goecharger_api2/pygoecharger_ha/const.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
FILTER_TIMES_ADDON: Final = ",rbt,fsptws,inva,lbp,lccfc,lccfi,lcctc,lfspt,lmsc,lpsc,lcs"
2828

2929
FILTER_ALL_STATES: Final = "alw,acu,adi,amt,atp,awcp,car,{CARDS_ENERGY_FILTER},cbl,ccu,ccw,cdi,cll,cus,ctrls,deltaa,deltap,di1,err,eto,ffb,fhz,fsp,fsptws,inva,lbp,lccfc,lccfi,lcctc,lck,lfspt,lmsc,loa,lpsc,mcpea,mmp,modelStatus,nif,nrg,pakku,pgrid,pha,pnp,ppv,pvopt_averagePAkku,pvopt_averagePGrid,pvopt_averagePPv,pwm,rbc,rbt,rfb,rssi,rst,tlf,tls,tma,tpa,trx,wh,wsms,wst"
30-
FILTER_ALL_CONFIG: Final = "acp,acs,ama,amp,ara,ate,att,awc,awe,awp,bac,{CARDS_ID_FILTER},cch,cco,cfi,cid,clp,cmse,ct,cwc,cwe,dwo,esk,fmt,fna,frc,frm,fst,fup,fzf,hsa,lbr,lmo,loe,lof,log,lop,lot,loty,lse,map,mca,mci,mcpd,mptwt,mpwst,nmo,pgt,po,psh,psm,psmd,rdbf,rdbs,rdef,rdes,rdre,rdpl,sch_satur,sch_sund,sch_week,sdp,sh,spl3,su,sua,sumd,tds,tof,upo,ust,zfo"
30+
FILTER_ALL_CONFIG: Final = "acp,acs,ama,amp,ara,ate,att,awc,awe,awp,bac,{CARDS_ID_FILTER},cch,cco,cfi,cid,clp,cmse,ct,cwc,cwe,dwo,esk,fmt,fna,frc,frm,fst,fup,fzf,hsa,lbr,lmo,loe,lof,log,lop,lot,loty,lse,map,mca,mci,mcpd,mptwt,mpwst,nmo,ocppe,pgt,po,psh,psm,psmd,rdbf,rdbs,rdef,rdes,rdre,rdpl,sch_satur,sch_sund,sch_week,sdp,sh,spl3,su,sua,sumd,tds,tof,upo,ust,zfo"
3131

3232
FILTER_NOT_USED: Final = "mcc,mcca,mce,mcr,mcs,mcu,men,mlr,mlra,mqcn,mqg,mqss,msb,msp,msr,mtp,ocppai,ocppi,rdbfe,rdbse,rdefe,rdese,rdree,rdple"
3333

custom_components/goecharger_api2/translations/de.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -564,7 +564,8 @@
564564
"iim_2": {"name": "Invertieren Internal 3"},
565565
"iim_3": {"name": "Invertieren Internal 4"},
566566
"iim_4": {"name": "Invertieren Internal 5"},
567-
"iim_5": {"name": "Invertieren Internal 6"}
567+
"iim_5": {"name": "Invertieren Internal 6"},
568+
"ocppe": {"name": "OCPP aktiviert"}
568569
}
569570
}
570571
}

custom_components/goecharger_api2/translations/en.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -564,7 +564,8 @@
564564
"iim_2": {"name": "Invert Internal 3"},
565565
"iim_3": {"name": "Invert Internal 4"},
566566
"iim_4": {"name": "Invert Internal 5"},
567-
"iim_5": {"name": "Invert Internal 6"}
567+
"iim_5": {"name": "Invert Internal 6"},
568+
"ocppe": {"name": "OCPP enabled"}
568569
}
569570
}
570571
}

0 commit comments

Comments
 (0)