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
@abstractmethod
def set_level(level:int):
def set_level(self, level:int):
"""
Set the led brightness to a certain level

View File

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