Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
1 change: 1 addition & 0 deletions aioesphomeapi/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -1985,6 +1985,7 @@ def message_types_to_names(msg_types: Iterable[type[message.Message]]) -> str:


__all__ = (
"COMPONENT_TYPE_TO_INFO",
"APIIntEnum",
"APIModelBase",
"APIVersion",
Expand Down
2 changes: 1 addition & 1 deletion tests/test_public_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ def _model_public_defined_names() -> set[str]:
# __all__ so ``from .model import *`` does not re-export them. Real consumers
# reach them via explicit imports, which __all__ does not gate.
_NOT_EXPORTED = {
"COMPONENT_TYPE_TO_INFO",
"cached_fields",
"converter_field",
"message_types_to_names",
Expand Down Expand Up @@ -70,6 +69,7 @@ def test_representative_model_classes_stay_exported() -> None:
"""Re-exported model classes remain importable from the top-level package."""
for name in (
"APIVersion",
"COMPONENT_TYPE_TO_INFO",
"DeviceInfo",
"EntityInfo",
"ClimateInfo",
Expand Down
Loading