Skip to content

Wait for a session after an acknowledged Start - #22

Open
Anderoo16 wants to merge 1 commit into
mbillow:mainfrom
Anderoo16:wait-for-acknowledged-start-session
Open

Anderoo16 wants to merge 1 commit into
mbillow:mainfrom
Anderoo16:wait-for-acknowledged-start-session

Conversation

@Anderoo16

Copy link
Copy Markdown

Summary

A station can acknowledge Start before the account API exposes session details. Add a 15-second window to check for that session after the single Start request. Return a session only when its device ID matches the requested charger, and report unconfirmed session discovery when the window expires.

Testing

The suite passed 68 tests. Regression coverage includes a delayed account response, incomplete session details, a session on another charger, and a timeout with a single Start request. Black, Flake8, mypy, and Pyright also passed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant