-
Notifications
You must be signed in to change notification settings - Fork 5
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
Dimmers not added as lights #10
Comments
I guess next up is that the mqtt library does not support the messages from type light. "paho.mqtt.client.MQTTMessage object at 0x75fe6680" What version of HASS did you verify dimmers on? I just tried 2021.12.7 with no luck. |
To be frank I did not have real access to a dimmer before but now I have and at this stage I can only confirm the dimmer do not work as expected. Will try to have a look at this as soon as possible. Thanks for your post! |
That is perfectly all right. I forked your repo. Have some more changes, like using on/off for the dimmers. Have some testing and state reporting left... |
Feel free to dig a bit further if you want and I can test and release your pr |
@dalomstornado is there anything I can help with? |
I have not had much time to look at this lately. But could you perhaps look at making device_event in main.py able to distinguish between dimmer and switches? I just hardcoded my fork for now. |
My dimmers are of model = "selflearning-dimmer". Same config (parameters house and unit) as model codeswitch which work fine and added as switch.
Any misshaps on my side perhaps?
The text was updated successfully, but these errors were encountered: