-
Notifications
You must be signed in to change notification settings - Fork 41
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
base: master
Are you sure you want to change the base?
Conversation
@@ -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 |
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.
Add class enums for OFF, ON, FLASH_SLOW, FLASH_FAST
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.
added
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.
We'll have to do something more intelligent in home assistant as LEDs are currently modeled as switches for some reason.
These are LEDs with logic, so are more similar to lights |
No description provided.