Skip to content

implemented a receive function for non-blocking mode

Yugon requested to merge yugon/python-yeelight:notification into master

Okey I rewrote everthing. Now without select. Mixed use of blocking and nonblocking methods while receiving, result in an exception, so I implemented blocking mode like @ytilahti suggested. I also updated the docs. Would be nice if some tester could test it.

Ah, note that I put the old kwargs back again, since they are needed for the effect and duration arguments.

Merge request reports