1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 12:59:34 +00:00

Rename logbook constant (#86464)

This commit is contained in:
epenet
2023-01-23 17:00:25 +01:00
committed by GitHub
parent 15ab04f97d
commit b4dd1b8cb2
3 changed files with 7 additions and 7 deletions

View File

@@ -16,7 +16,7 @@ from homeassistant.components.alexa.smart_home import EVENT_ALEXA_SMART_HOME
from homeassistant.components.automation import EVENT_AUTOMATION_TRIGGERED
from homeassistant.components.logbook.models import LazyEventPartialState
from homeassistant.components.logbook.processor import EventProcessor
from homeassistant.components.logbook.queries.common import PSUEDO_EVENT_STATE_CHANGED
from homeassistant.components.logbook.queries.common import PSEUDO_EVENT_STATE_CHANGED
from homeassistant.components.script import EVENT_SCRIPT_STARTED
from homeassistant.components.sensor import SensorStateClass
from homeassistant.const import (
@@ -332,7 +332,7 @@ def create_state_changed_event_from_old_new(
],
)
row.event_type = PSUEDO_EVENT_STATE_CHANGED
row.event_type = PSEUDO_EVENT_STATE_CHANGED
row.event_data = "{}"
row.shared_data = "{}"
row.attributes = attributes_json