diff --git a/src/aiy/_drivers/_led.py b/src/aiy/_drivers/_led.py index 9578a1c2..44951723 100644 --- a/src/aiy/_drivers/_led.py +++ b/src/aiy/_drivers/_led.py @@ -90,7 +90,7 @@ def _animate(self): running = self.running if not running: return - if state: + if state is not None: if not self._parse_state(state): raise ValueError('unsupported state: %d' % state) if self.iterator: