Check your devices here:
https://github.com/aholstenson/miio/blob/master/docs/devices/README.md#models-by-name
As you see not all Yeelights are supported, others are untested. My module retrieves all devices of type ‘light’, so it might work for all of them.