Files
core/homeassistant/components/update/recorder.py
T

13 lines
397 B
Python

"""Integration platform for recorder."""
from __future__ import annotations
from homeassistant.core import HomeAssistant, callback
from . import ATTR_IN_PROGRESS, ATTR_RELEASE_SUMMARY
@callback
def exclude_attributes(hass: HomeAssistant) -> set[str]:
"""Exclude large and chatty update attributes from being recorded in the database."""
return {ATTR_IN_PROGRESS, ATTR_RELEASE_SUMMARY}