1
0
mirror of https://github.com/elisspace/core.git synced 2026-08-30 16:12:01 +00:00
Files

17 lines
409 B
Python

"""Integration platform for recorder."""
from __future__ import annotations
from homeassistant.core import HomeAssistant, callback
from . import ATTR_AUTO, ATTR_ENTITY_ID, ATTR_ORDER
@callback
def exclude_attributes(hass: HomeAssistant) -> set[str]:
"""Exclude static attributes from being recorded in the database."""
return {
ATTR_ENTITY_ID,
ATTR_ORDER,
ATTR_AUTO,
}