Skip to content

Commit

Permalink
CI: Add testing against HA 2025.1
Browse files Browse the repository at this point in the history
  • Loading branch information
dext0r committed Dec 26, 2024
1 parent 0e346c0 commit d3f2b1d
Show file tree
Hide file tree
Showing 5 changed files with 913 additions and 828 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,11 @@ jobs:
python-version: '3.12'
- tox-env: 2024_11
python-version: '3.12'

- tox-env: 2024_12
python-version: '3.13'

- tox-env: 2025_1
python-version: '3.13'
latest: true
steps:
- uses: actions/checkout@v4
Expand Down
4 changes: 1 addition & 3 deletions custom_components/yandex_smart_home/property_event.py
Original file line number Diff line number Diff line change
Expand Up @@ -438,9 +438,7 @@ class MotionEventPlatformProperty(EventPlatformProperty, MotionEventProperty):
@property
def parameters(self) -> MotionEventPropertyParameters:
"""Return parameters for a devices list request."""
return MotionEventPropertyParameters(
events=[{"value": MotionInstanceEvent.DETECTED}] # type: ignore[dict-item]
)
return MotionEventPropertyParameters(events=[{"value": MotionInstanceEvent.DETECTED}])

@property
def supported(self) -> bool:
Expand Down
Loading

0 comments on commit d3f2b1d

Please sign in to comment.