Import logbook constants from root (#78236)
This commit is contained in:
parent
6a5678154a
commit
0ce526efe1
4 changed files with 5 additions and 5 deletions
|
@ -1,11 +1,11 @@
|
|||
"""Describe logbook events."""
|
||||
from homeassistant.components.logbook import LazyEventPartialState
|
||||
from homeassistant.components.logbook.const import (
|
||||
from homeassistant.components.logbook import (
|
||||
LOGBOOK_ENTRY_CONTEXT_ID,
|
||||
LOGBOOK_ENTRY_ENTITY_ID,
|
||||
LOGBOOK_ENTRY_MESSAGE,
|
||||
LOGBOOK_ENTRY_NAME,
|
||||
LOGBOOK_ENTRY_SOURCE,
|
||||
LazyEventPartialState,
|
||||
)
|
||||
from homeassistant.const import ATTR_ENTITY_ID, ATTR_NAME
|
||||
from homeassistant.core import HomeAssistant, callback
|
||||
|
|
|
@ -3,7 +3,7 @@ from __future__ import annotations
|
|||
|
||||
from collections.abc import Callable
|
||||
|
||||
from homeassistant.components.logbook.const import (
|
||||
from homeassistant.components.logbook import (
|
||||
LOGBOOK_ENTRY_ICON,
|
||||
LOGBOOK_ENTRY_MESSAGE,
|
||||
LOGBOOK_ENTRY_NAME,
|
||||
|
|
|
@ -3,7 +3,7 @@ from __future__ import annotations
|
|||
|
||||
from collections.abc import Callable
|
||||
|
||||
from homeassistant.components.logbook.const import (
|
||||
from homeassistant.components.logbook import (
|
||||
LOGBOOK_ENTRY_ENTITY_ID,
|
||||
LOGBOOK_ENTRY_ICON,
|
||||
LOGBOOK_ENTRY_MESSAGE,
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
"""Describe logbook events."""
|
||||
from homeassistant.components.logbook.const import (
|
||||
from homeassistant.components.logbook import (
|
||||
LOGBOOK_ENTRY_CONTEXT_ID,
|
||||
LOGBOOK_ENTRY_ENTITY_ID,
|
||||
LOGBOOK_ENTRY_MESSAGE,
|
||||
|
|
Loading…
Add table
Reference in a new issue