Because I'm planning on using this in the long term and adding some functionality, I've started with some cleanup first. And among that I've added some fixes.
I've run code through flake8 and pylint and fixed the recommendations that were possible at that time
I've put configuration in a yaml file, as this helps me keep the repo in sync. Unfortunately that's another python module dependency.
Hub light status - rgb and brightness states are now published on MQTT
Seems that miio message with light and rgb color are added and xored, so I've fixed that too
Probably the code differs a bit now and I don't know whether you'll like it or not, but I had to ask. I'm open to suggestions too, if you have any.
Hi,
Because I'm planning on using this in the long term and adding some functionality, I've started with some cleanup first. And among that I've added some fixes.
Probably the code differs a bit now and I don't know whether you'll like it or not, but I had to ask. I'm open to suggestions too, if you have any.
Best regards, -- nt