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

fix led state is not boolean #102

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

rzulian
Copy link
Contributor

@rzulian rzulian commented May 15, 2024

No description provided.

pylutron/__init__.py Outdated Show resolved Hide resolved
@@ -931,7 +931,8 @@ class Event(LutronEvent):

STATE_CHANGED: The button has been pressed.
Params:
state: The boolean value of the new LED state.
state: The value of the new LED state.
0= off, 1= on, 2= 1 flash/sec, 3= 10 flash/sec
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add class enums for OFF, ON, FLASH_SLOW, FLASH_FAST

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

added

Copy link
Collaborator

@cdheiser cdheiser left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We'll have to do something more intelligent in home assistant as LEDs are currently modeled as switches for some reason.

@rzulian
Copy link
Contributor Author

rzulian commented Jun 7, 2024

These are LEDs with logic, so are more similar to lights

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