mirror of
https://github.com/elisspace/core.git
synced 2026-09-21 10:07:54 +00:00
13 lines
397 B
Python
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}
|