diff --git a/tests/test_charge_point.py b/tests/test_charge_point.py index eafe4777..39018f01 100644 --- a/tests/test_charge_point.py +++ b/tests/test_charge_point.py @@ -139,6 +139,7 @@ async def test_services(hass, socket_enabled): 1305570 / 1000 ) assert int(cs.get_metric("test_cpid", "Current.Import")) == int(20) + assert int(cs.get_metric("test_cpid", "Voltage")) == int(228) assert cs.get_unit("test_cpid", "Energy.Active.Import.Register") == "kWh" await asyncio.sleep(1) # test ocpp messages sent from cms to charger, through HA switches/services @@ -485,7 +486,7 @@ async def send_meter_data(self): "phase": "L1-N", }, { - "value": "227.000", + "value": "228.000", "context": "Sample.Periodic", "measurand": "Voltage", "location": "Outlet", @@ -493,7 +494,7 @@ async def send_meter_data(self): "phase": "L2-N", }, { - "value": "229.300", + "value": "0.000", "context": "Sample.Periodic", "measurand": "Voltage", "location": "Outlet",