-
Notifications
You must be signed in to change notification settings - Fork 145
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
Added toggle function for dimmers #812
Conversation
Sorry for the late response. @sweebee Could you use getState instead (see the toggle function of thw switch device)? |
I can't get it working.
Dimmer:
|
what about changing
to
? |
This is the dimmer prototype so it isn't good to implement per device functions in the parent. _setState() dose not run any code for the real device. So you can change the device in pimatic but no Logik to send this information to its target runs. This will not work. Every dimmer device must implement the changeStateTo function. @sweebee for which device did you try to implement it? You must create a pull request for this dimmer and implement the changeStateTo function. |
Added toggle function for dimmers
I merged it but removed the toggle function because it is already in the SwitchActuator. I also added a default changeStateTo dunction to the dimmer device. The addition will be released with the next version. Sorry for the long delay on this issue. |
No description provided.