Remove the DEBUG_MODE

This commit is contained in:
Bas Nijholt 2023-07-30 00:08:24 -07:00
commit 8e4ff80b9d

View file

@ -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)