Skip to content

Commit c02e77b

Browse files
authored
add back services test for rejected (#384)
* add back services test for rejected * fix clear charging profile response
1 parent 7b63e9c commit c02e77b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/test_charge_point.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,6 +275,7 @@ async def test_services(hass, socket_enabled):
275275
cs.charge_points[cs.cpid].trigger_boot_notification(),
276276
cs.charge_points[cs.cpid].trigger_status_notification(),
277277
test_switches(hass, socket_enabled),
278+
test_services(hass, socket_enabled),
278279
test_buttons(hass, socket_enabled),
279280
),
280281
timeout=3,
@@ -445,7 +446,7 @@ def on_clear_charging_profile(self, **kwargs):
445446
)
446447
else:
447448
return call_result.ClearChargingProfilePayload(
448-
ClearChargingProfileStatus.rejected
449+
ClearChargingProfileStatus.unknown
449450
)
450451

451452
@on(Action.TriggerMessage)

0 commit comments

Comments
 (0)