Add more unit tests, fix a few small bugs

This commit is contained in:
Andrew Scheller
2016-04-30 16:47:29 +01:00
parent 7e6cc39d71
commit fddb95b84b
7 changed files with 164 additions and 4 deletions

View File

@@ -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):