mirror of
https://github.com/home-assistant/core.git
synced 2026-11-25 07:08:09 -04:00
Isolate consts better to where they are used (#63569)
This commit is contained in:
@@ -13,12 +13,10 @@ from pyunifiprotect.data.devices import Sensor
|
||||
from homeassistant.components.unifiprotect.binary_sensor import (
|
||||
CAMERA_SENSORS,
|
||||
LIGHT_SENSORS,
|
||||
RING_INTERVAL,
|
||||
SENSE_SENSORS,
|
||||
)
|
||||
from homeassistant.components.unifiprotect.const import (
|
||||
DEFAULT_ATTRIBUTION,
|
||||
RING_INTERVAL,
|
||||
)
|
||||
from homeassistant.components.unifiprotect.const import DEFAULT_ATTRIBUTION
|
||||
from homeassistant.const import (
|
||||
ATTR_ATTRIBUTION,
|
||||
ATTR_LAST_TRIP_TIME,
|
||||
|
||||
@@ -23,12 +23,12 @@ from homeassistant.components.unifiprotect.const import (
|
||||
ATTR_DURATION,
|
||||
ATTR_MESSAGE,
|
||||
DEFAULT_ATTRIBUTION,
|
||||
SERVICE_SET_DOORBELL_MESSAGE,
|
||||
)
|
||||
from homeassistant.components.unifiprotect.select import (
|
||||
CAMERA_SELECTS,
|
||||
LIGHT_MODE_OFF,
|
||||
LIGHT_SELECTS,
|
||||
SERVICE_SET_DOORBELL_MESSAGE,
|
||||
VIEWER_SELECTS,
|
||||
)
|
||||
from homeassistant.const import ATTR_ATTRIBUTION, ATTR_ENTITY_ID, ATTR_OPTION, Platform
|
||||
|
||||
Reference in New Issue
Block a user