mirror of
https://github.com/micahqcade/custom_vesync.git
synced 2025-02-11 09:39:00 +01:00
fix an unused parameter.
This commit is contained in:
parent
22093da1cb
commit
c0b9adc723
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user