Clean up profiler constants (#49752)

This commit is contained in:
tkdrob 2021-04-27 10:04:45 -04:00 committed by GitHub
parent b91d2be00b
commit 664075962f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 5 deletions

View file

@ -5,9 +5,7 @@ from unittest.mock import patch
from homeassistant import setup
from homeassistant.components.profiler import (
CONF_SCAN_INTERVAL,
CONF_SECONDS,
CONF_TYPE,
SERVICE_DUMP_LOG_OBJECTS,
SERVICE_LOG_EVENT_LOOP_SCHEDULED,
SERVICE_LOG_THREAD_FRAMES,
@ -17,6 +15,7 @@ from homeassistant.components.profiler import (
SERVICE_STOP_LOG_OBJECTS,
)
from homeassistant.components.profiler.const import DOMAIN
from homeassistant.const import CONF_SCAN_INTERVAL, CONF_TYPE
import homeassistant.util.dt as dt_util
from tests.common import MockConfigEntry, async_fire_time_changed