fix call to remote

This commit is contained in:
onyx-and-iris 2022-07-02 01:43:19 +01:00
parent 74d2a57a27
commit 12281a58c8

View File

@ -82,11 +82,11 @@ class Strip(IRemote):
def fadeto(self, target: float, time_: int): def fadeto(self, target: float, time_: int):
self.setter("FadeTo", f"({target}, {time_})") self.setter("FadeTo", f"({target}, {time_})")
time.sleep(self.remote.delay) time.sleep(self._remote.delay)
def fadeby(self, change: float, time_: int): def fadeby(self, change: float, time_: int):
self.setter("FadeBy", f"({change}, {time_})") self.setter("FadeBy", f"({change}, {time_})")
time.sleep(self.remote.delay) time.sleep(self._remote.delay)
class PhysicalStrip(Strip): class PhysicalStrip(Strip):