diff --git a/custom_components/adaptive_lighting/hass_utils.py b/custom_components/adaptive_lighting/hass_utils.py index cafd9cdf..ba5bb8b0 100644 --- a/custom_components/adaptive_lighting/hass_utils.py +++ b/custom_components/adaptive_lighting/hass_utils.py @@ -8,7 +8,6 @@ from homeassistant.util.read_only_dict import ReadOnlyDict from .adaptation_utils import ServiceData _LOGGER = logging.getLogger(__name__) -_DEBUG_MODE = True def setup_service_call_interceptor( @@ -59,8 +58,6 @@ def setup_service_call_interceptor( call.data, e, ) - if _DEBUG_MODE: - raise # Call original service handler with processed data await existing_service.job.target(call)