fix(sensor): import List and enable future annotations for Python compatibility #2

Merged
jrittenh merged 1 commit from fix/sensor-type-hints into main 2026-10-25 00:01:00 -04:00
Owner

Imports List from typing and enables from __future__ import annotations in sensor.py to resolve the runtime NameError when evaluating type annotations during test collection on Python 3.12.

Imports `List` from `typing` and enables `from __future__ import annotations` in `sensor.py` to resolve the runtime `NameError` when evaluating type annotations during test collection on Python 3.12.
fix(sensor): import List and enable future annotations for Python compatibility
All checks were successful
Continuous Integration / test (pull_request) Successful in 3m41s
c26877a4dc
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
jrittenh/ha-myride!2
No description provided.