mirror of
https://github.com/basnijholt/adaptive-lighting.git
synced 2026-09-15 00:04:05 +02:00
Remove the DEBUG_MODE
This commit is contained in:
parent
a38b51fcc5
commit
8e4ff80b9d
1 changed files with 0 additions and 3 deletions
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue