mirror of
https://github.com/KevinMidboe/python-gpiozero.git
synced 2025-10-29 17:50:37 +00:00
Add more unit tests, fix a few small bugs
This commit is contained in:
@@ -581,7 +581,7 @@ class RGBLED(SourceMixin, Device):
|
||||
|
||||
@property
|
||||
def closed(self):
|
||||
return bool(self._leds)
|
||||
return len(self._leds) == 0
|
||||
|
||||
@property
|
||||
def value(self):
|
||||
|
||||
Reference in New Issue
Block a user