Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
58 commits
Select commit Hold shift + click to select a range
ef94d94
refactor: modularize OpenEVSE client by splitting core logic into ded…
firstof9 Mar 28, 2026
6fa13c0
refactor: delegate send_command to requester and expand test coverage…
firstof9 Mar 29, 2026
ecab0e1
changes based on feedback
firstof9 Mar 29, 2026
0565f62
test: remove unused mock_create_task variable in websocket tests
firstof9 Mar 29, 2026
eb1d99e
refactor: normalize non-JSON responses to dictionaries and improve we…
firstof9 Mar 29, 2026
9255f97
refactor: include status and success state in error responses and upd…
firstof9 Mar 29, 2026
b851f23
refactor: improve HTTP error logging and command response handling, a…
firstof9 Mar 29, 2026
979ca78
refactor: remove unused asyncio import and clean up whitespace in cov…
firstof9 Mar 29, 2026
6e1124e
add null safety checks for websocket and config states and update uni…
firstof9 Mar 29, 2026
7481ebe
improve error handling for callbacks, divert mode, and current limit …
firstof9 Mar 29, 2026
5c40132
prevent concurrent update callback execution and improve test cleanup…
firstof9 Mar 29, 2026
59f0db0
improve error handling and cache preservation during API updates and …
firstof9 Mar 29, 2026
2a72244
fix log capture scope for UnsupportedFeature exceptions in override …
firstof9 Mar 29, 2026
60815b9
improve error handling for write-refresh callbacks and serial detecti…
firstof9 Mar 29, 2026
19198aa
implement request coalescing for update callbacks in Requester and i…
firstof9 Mar 29, 2026
4a3d36a
improve error handling and validation for API responses and override …
firstof9 Mar 29, 2026
c212365
improve error handling and validation for override states and command…
firstof9 Mar 29, 2026
cc46758
improve robustness of divert mode, websocket payload handling, and ov…
firstof9 Mar 29, 2026
80be5c7
reorder websocket tests and update trigger key selection logic
firstof9 Mar 30, 2026
d51a3d6
improve divert mode validation and handle unknown EVSE state during o…
firstof9 Mar 30, 2026
79890cc
nullify websocket handle on close and return success status for curr…
firstof9 Mar 30, 2026
a5b683a
standardize RAPI response logging and add legacy firmware test fixtures
firstof9 Mar 30, 2026
be734d7
add state coercion for override toggling and fix websocket listening …
firstof9 Mar 30, 2026
186973d
improve error handling for non-JSON responses, validate claims data, …
firstof9 Mar 30, 2026
8720951
clear log buffers and fix test execution order in client and override…
firstof9 Mar 30, 2026
f99cc84
consolidate coverage tests into existing test suites and remove redun…
firstof9 Mar 30, 2026
003af07
ignore message-only responses during update and ensure non-dict respo…
firstof9 Mar 30, 2026
2bad3d3
simplify error response handling and improve websocket state test cov…
firstof9 Mar 30, 2026
4fef52a
improve status boolean casting, strengthen API response validation, a…
firstof9 Mar 30, 2026
de380de
enforce strict 'ok' status checks on commands and improve override st…
firstof9 Mar 30, 2026
96c8591
prevent concurrent payload types in requester and add exit condition …
firstof9 Mar 30, 2026
26819db
improve type casting for client properties and expand version check …
firstof9 Mar 30, 2026
39d1347
improve event loop handling, harden current limit validation, and up…
firstof9 Mar 30, 2026
485c264
improve temperature parsing and enhance override test coverage
firstof9 Mar 31, 2026
3e3f6ec
handle manual override sleeping state, allow empty RAPI requests, and…
firstof9 Mar 31, 2026
8c38c87
add comprehensive unit tests to improve code coverage for OpenEVSE cl…
firstof9 Mar 31, 2026
98d5292
improve test coverage and documentation for firmware and override fun…
firstof9 Apr 1, 2026
f3cb30e
update requester to support forced full refreshes and expand trigger …
firstof9 Apr 1, 2026
c4f2224
improve response validation, handle non-dict responses, and update ta…
firstof9 Apr 1, 2026
26e2afd
change websocket task storage from set to list to ensure ordered task…
firstof9 Apr 1, 2026
4aff377
add coverage for non-dict response handling and full_refresh callback…
firstof9 Apr 1, 2026
2893cc3
trigger full refresh on command execution and include delete method i…
firstof9 Apr 1, 2026
f61adcb
improve override state validation and refine RAPI command response ha…
firstof9 Apr 1, 2026
77a155d
add test case for set_override failure handling when POST returns err…
firstof9 Apr 1, 2026
c3a4d87
allow empty passwords for authentication and improve websocket state …
firstof9 Apr 1, 2026
0533c74
ignore unused mock_connect arguments in websocket tests
firstof9 Apr 1, 2026
1901a7a
serialize callback execution with a lock and coerce None passwords to…
firstof9 Apr 2, 2026
81035bc
improve event loop handling in websocket client by caching loop refer…
firstof9 Apr 2, 2026
45cc653
add test case for OpenEVSEWebsocket initialization without a running …
firstof9 Apr 2, 2026
08012be
prevent callback deadlocks with reentrancy handling and normalize req…
firstof9 Apr 2, 2026
46680cb
improve websocket loop handling and support read-only mapping payloads
firstof9 Apr 2, 2026
6db90cb
improve RAPI response handling and force full status refresh for lega…
firstof9 Apr 2, 2026
7249839
mock update method in toggle_override tests to prevent unnecessary ne…
firstof9 Apr 2, 2026
c31b1bb
improve websocket thread-safety and update status refresh error handling
firstof9 Apr 2, 2026
764396b
improve override toggle reliability, enhance error logging, and resol…
firstof9 Apr 2, 2026
741f1c9
update divert mode and override toggle tests to handle state dependen…
firstof9 Apr 2, 2026
a6e4222
add coverage for state setter scheduling failure scenarios
firstof9 Apr 2, 2026
858a65d
improve callback state management, update trigger logic, and refine t…
firstof9 Apr 2, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 42 additions & 0 deletions openevsehttp/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1,43 @@
"""Provide a package for python-openevse-http."""

from aiohttp.client_exceptions import ContentTypeError, ServerTimeoutError

from .client import (
INFO_LOOP_RUNNING,
UPDATE_TRIGGERS,
OpenEVSE,
states,
)
from .client import (
divert_mode_map as divert_mode,
)
from .const import ERROR_TIMEOUT
from .exceptions import (
AlreadyListening,
AuthenticationError,
InvalidType,
MissingMethod,
MissingSerial,
ParseJSONError,
UnknownError,
UnsupportedFeature,
)

__all__ = [
"AlreadyListening",
"AuthenticationError",
"ContentTypeError",
"ERROR_TIMEOUT",
"INFO_LOOP_RUNNING",
"InvalidType",
"MissingMethod",
"MissingSerial",
"OpenEVSE",
"ParseJSONError",
"ServerTimeoutError",
"UnknownError",
"UnsupportedFeature",
"UPDATE_TRIGGERS",
"divert_mode",
"states",
]
Loading
Loading