Fix self
This commit is contained in:
parent
711d76f0db
commit
4846608b4b
@ -29,7 +29,7 @@ class LedControlDevice(ABC):
|
||||
pass
|
||||
|
||||
@abstractmethod
|
||||
def set_level(level:int):
|
||||
def set_level(self, level:int):
|
||||
"""
|
||||
Set the led brightness to a certain level
|
||||
|
||||
|
@ -10,5 +10,5 @@ class TestLedControlDevice(LedControlDevice):
|
||||
def off(self):
|
||||
pass
|
||||
|
||||
def set_level(level: int):
|
||||
def set_level(self, level: int):
|
||||
pass
|
||||
|
Loading…
x
Reference in New Issue
Block a user