From 69a4ca3a5883c9be3d871bd5e0bbcff077dc50ec Mon Sep 17 00:00:00 2001 From: Juraj Nyiri Date: Tue, 12 Nov 2024 12:44:43 +0100 Subject: [PATCH] Fix #703: Unable to use Floodlight anymore --- custom_components/tapo_control/light.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom_components/tapo_control/light.py b/custom_components/tapo_control/light.py index 51d0f4f..4d41cfc 100644 --- a/custom_components/tapo_control/light.py +++ b/custom_components/tapo_control/light.py @@ -76,7 +76,7 @@ async def async_turn_on(self) -> None: if ( camData is not False and "whitelampStatus" in camData - and str(camData["whitelampStatus"]) == "1" + and str(camData["whitelampStatus"]) == "0" ): result = await self._hass.async_add_executor_job( self._controller.reverseWhitelampStatus