Refactor logbook helpers to reduce splits and lookups (#108933)

Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
This commit is contained in:
J. Nick Koston 2024-01-26 20:07:24 -10:00 committed by GitHub
parent 61c6c70a7d
commit 5dac5d5c7e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 36 additions and 29 deletions

View file

@ -77,6 +77,7 @@ def mock_humanify(hass_, rows):
context_augmenter = processor.ContextAugmenter(logbook_run)
return list(
processor._humanify(
hass_,
rows,
ent_reg,
logbook_run,