mirror of
https://github.com/home-assistant/core.git
synced 2025-07-22 12:47:08 +00:00
Import logbook constants from root (#78236)
This commit is contained in:
parent
6a5678154a
commit
0ce526efe1
@ -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…
x
Reference in New Issue
Block a user