fix an unused parameter.

This commit is contained in:
Vincent Le Bourlot 2022-05-26 10:52:14 +02:00 committed by GitHub
parent 22093da1cb
commit c0b9adc723
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -102,7 +102,7 @@ class VeSyncBulb(VeSyncBaseDevice):
"""Turn off vesync bulbs."""
return self._toggle("off")
def _toggle(self, state: str, warning: str):
def _toggle(self, state: str):
if self.toggle(state):
self.device_status = state
return True