Skip to content
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

Toggle for non switch #28

Merged
merged 3 commits into from
Feb 1, 2022
Merged

Conversation

ross-p-smith
Copy link
Contributor

#27 - This adds a TryGetDeviceCapabilityStatus that swallows the exception and returns a boolean. If we cant toggle the Switch, then we can toggle a WindowShade

@ross-p-smith
Copy link
Contributor Author

I've changed this to use SwitchLevel - so interested whether this works for Hue Dimmer now

@daltskin daltskin merged commit 4b09333 into daltskin:master Feb 1, 2022
@daltskin
Copy link
Owner

daltskin commented Feb 1, 2022

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants