diff --git a/custom_components/ocpp/switch.py b/custom_components/ocpp/switch.py index 2cf9e10f..65972777 100644 --- a/custom_components/ocpp/switch.py +++ b/custom_components/ocpp/switch.py @@ -40,7 +40,7 @@ class OcppSwitchDescription(SwitchEntityDescription): icon=ICON, on_action=HAChargerServices.service_charge_start.name, off_action=HAChargerServices.service_charge_stop.name, - metric_state=HAChargerStatuses.status.value, + metric_state=HAChargerStatuses.status_connector.value, metric_condition=ChargePointStatus.charging.value, ), OcppSwitchDescription(