-
Notifications
You must be signed in to change notification settings - Fork 8
Set_switch: don't raise eror when locked #755
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
Merged
Merged
Changes from all commits
Commits
Show all changes
47 commits
Select commit
Hold shift + click to select a range
7551d55
Let set-switch functions return a bool, improve handling of locked state
bouwew f89fe4e
Adapt tinker_switch() test function
bouwew 46e05d6
fixup: relay-sw-improve Python code fixed using ruff
6a1634f
Return fixes
bouwew e3edfe9
Improve test
bouwew 93d47b3
More return fixes
bouwew 323c39a
Fix expected state value
bouwew 0b2d616
Fix testcode
bouwew 59c03a2
Fix legacy set_switch for lock
bouwew 2eb36ba
Ruff fix
bouwew 45b500f
Add testcase for a blocked switchgroup-change
bouwew 68ed57c
Update related entity_items
bouwew e0f35ab
Save updates
bouwew 75fae4f
Add pragma-no-cover for legacy
bouwew 9f48e39
Test: clear no longer expected exception
bouwew a9abbe3
Bump to v1.7.6a0 test-version
bouwew 93b9b2d
Correct switch state input
bouwew 8a9085c
Bump to a1
bouwew 31bc6a4
Improve var-name, correct returns
bouwew bae7297
Bump to a2
bouwew a25ee26
Implement improvements as suggested
bouwew 8890065
Handle no lock-attribute present
bouwew 0032a90
Correct testcase
bouwew ca3fd2c
Debug
bouwew 806752a
Try
bouwew e4adde6
Ruff fixes
bouwew 4cf708e
Clean up
bouwew e4c5825
Add testcase covering switching of lock
bouwew a7dc211
Ruff fix
bouwew 8ae7acf
For legacy lock is always present
bouwew c6438ba
Mypy fix
bouwew 9687d4e
Doc-string updates
bouwew aae4191
fixup: relay-sw-improve Python code fixed using ruff
a10fdae
Bump to a3
bouwew aa38035
Improve docstrings
bouwew c511870
Add input-check as suggested
bouwew b06106a
Move preset input-checking to __init__.py, use constants
bouwew 9e80cfb
fixup: relay-sw-improve Python code fixed using ruff
e602444
Add missing constant imports
bouwew dca5835
Revert move preset input-checking
bouwew 05d5300
Add tinker_switch_bad_input() test-function
bouwew 089e156
And implement
bouwew 2b0bf39
Fixes
bouwew 9246b5d
Improve group-switch logic for Adam
bouwew 73cf3ea
Update CHANGELOG
bouwew 8b1fda1
Bump to v1.7.6 release-version
bouwew da05900
Use #issue
bouwew File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.