-
Notifications
You must be signed in to change notification settings - Fork 83
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
Aqara switch #21
Comments
This is the maximum I could go... I never worked with python or know anything about the HA framework so I'm totally blind here. Thanks. Regards, |
I'll check the latest code and see if something breaks. The old code I'm using works fine |
@joaoasilva Why do you have a call to turn_off in the turn_on function? |
@joaoasilva Could you try this fix: https://github.com/lazcad/homeassistant/pull/22/files |
Ahahaha, this was my first experience with Python and HA, as I said was a dirty hack just to make it work, not a solution. |
Aqara switches should be as the light switches, instead when you click on it on the interface it turns on and then off automatically on the interface but stays on on the physical switch.
I've made a dirty fix on the switch code:
But this isn't the solution as they need to behave as a light switch and not toggle automatically on the interface.
Regards,
The text was updated successfully, but these errors were encountered: