mirror of
https://github.com/home-assistant/core.git
synced 2025-08-14 18:11:41 +02:00
Import logbook constants from root (#78236)
This commit is contained in:
@@ -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,
|
||||
|
Reference in New Issue
Block a user