-
-
Notifications
You must be signed in to change notification settings - Fork 32.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use start/stop level change to open/close Z-Wave JS Window Covering CC covers #125827
Use start/stop level change to open/close Z-Wave JS Window Covering CC covers #125827
Conversation
Hey there @home-assistant/z-wave, mind taking a look at this pull request as it has been labeled with an integration ( Code owner commandsCode owners of
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And CI is failing
def window_covering_outbound_bottom_state_fixture(): | ||
"""Load node with Window Covering CC fixture data, with only the outbound bottom position supported.""" | ||
return json.loads(load_fixture("zwave_js/window_covering_outbound_bottom.json")) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
def window_covering_outbound_bottom_state_fixture(): | |
"""Load node with Window Covering CC fixture data, with only the outbound bottom position supported.""" | |
return json.loads(load_fixture("zwave_js/window_covering_outbound_bottom.json")) | |
def window_covering_outbound_bottom_state_fixture() -> dict[str, Any]: | |
"""Load node with Window Covering CC fixture data, with only the outbound bottom position supported.""" | |
return load_json_object_fixture("window_covering_outbound_bottom.json", DOMAIN) |
@pytest.fixture(name="window_covering_outbound_bottom") | ||
def window_covering_outbound_bottom_fixture( | ||
client, window_covering_outbound_bottom_state | ||
): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
): | |
) -> Node: |
Please take a look at the requested changes, and use the Ready for review button when you are done, thanks 👍 |
Odd. Ruff had no changes locally. Will check again. |
Rebase on latest dev branch. I think imports have been refactored on dev. |
1199e80
to
01681b2
Compare
branch rebased. I'll do the changes @joostlek requested in a followup PR because it affects all fixtures, not just the new ones. |
Co-authored-by: Martin Hjelmare <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
Breaking change
Proposed change
Type of change
Additional information
Checklist
ruff format homeassistant tests
)If user exposed functionality or configuration variables are added/changed:
If the code communicates with devices, web services, or third-party tools:
Updated and included derived files by running:
python3 -m script.hassfest
.requirements_all.txt
.Updated by running
python3 -m script.gen_requirements_all
.To help with the load of incoming pull requests: