This commit is contained in:
CPD 2025-02-27 16:42:47 +01:00
parent 711d76f0db
commit 4846608b4b
2 changed files with 2 additions and 2 deletions

View File

@ -29,7 +29,7 @@ class LedControlDevice(ABC):
pass pass
@abstractmethod @abstractmethod
def set_level(level:int): def set_level(self, level:int):
""" """
Set the led brightness to a certain level Set the led brightness to a certain level

View File

@ -10,5 +10,5 @@ class TestLedControlDevice(LedControlDevice):
def off(self): def off(self):
pass pass
def set_level(level: int): def set_level(self, level: int):
pass pass