Reduce number of columns selected for logbook (#91718)
This commit is contained in:
parent
34b824a27b
commit
b76551cf35
5 changed files with 20 additions and 33 deletions
|
@ -29,7 +29,7 @@ class MockRow:
|
|||
):
|
||||
"""Init the fake row."""
|
||||
self.event_type = event_type
|
||||
self.shared_data = json.dumps(data, cls=JSONEncoder)
|
||||
self.event_data = json.dumps(data, cls=JSONEncoder)
|
||||
self.data = data
|
||||
self.time_fired = dt_util.utcnow()
|
||||
self.time_fired_ts = dt_util.utc_to_timestamp(self.time_fired)
|
||||
|
@ -42,8 +42,7 @@ class MockRow:
|
|||
self.context_id_bin = ulid_to_bytes_or_none(context.id) if context else None
|
||||
self.state = None
|
||||
self.entity_id = None
|
||||
self.state_id = None
|
||||
self.event_id = None
|
||||
self.row_id = None
|
||||
self.shared_attrs = None
|
||||
self.attributes = None
|
||||
self.context_only = False
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue