When aiy.leds moved to aiy.vision.leds it looks like the Color class got stripped out and enter and exit got stripped from the Leds class. Additionally, aiy.vision.leds does not import math anymore for the blend function in the Color class. I'm not sure if this was to increase performance or not - I'm still pretty terrible at Python & don't know how to do pull requests yet. The result of these omissions is that leds_example.py from the aiy.leds documentation does not work.
When you add the above items to aiy.vision.leds and change aiy.leds to aiy.vision.leds in leds_example.py, all examples in leds_example.py work.
When aiy.leds moved to aiy.vision.leds it looks like the Color class got stripped out and enter and exit got stripped from the Leds class. Additionally, aiy.vision.leds does not import math anymore for the blend function in the Color class. I'm not sure if this was to increase performance or not - I'm still pretty terrible at Python & don't know how to do pull requests yet. The result of these omissions is that leds_example.py from the aiy.leds documentation does not work.
When you add the above items to aiy.vision.leds and change aiy.leds to aiy.vision.leds in leds_example.py, all examples in leds_example.py work.
This applies to the 2018-11-16 release image