1
0
mirror of https://github.com/home-assistant/core.git synced 2025-05-03 05:29:14 +00:00

11 lines
334 B
Python

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