From c0b9adc723d4828f7579a50753cc14cea6a555b4 Mon Sep 17 00:00:00 2001 From: Vincent Le Bourlot Date: Thu, 26 May 2022 10:52:14 +0200 Subject: [PATCH] fix an unused parameter. --- custom_components/vesync/pyvesync/vesyncbulb.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom_components/vesync/pyvesync/vesyncbulb.py b/custom_components/vesync/pyvesync/vesyncbulb.py index d5f3459..19fb115 100644 --- a/custom_components/vesync/pyvesync/vesyncbulb.py +++ b/custom_components/vesync/pyvesync/vesyncbulb.py @@ -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