mirror of
https://github.com/Electric-Special/ha-core.git
synced 2026-03-24 00:04:18 +01:00
12 lines
343 B
Python
12 lines
343 B
Python
"""Integration platform for recorder."""
|
|
from __future__ import annotations
|
|
|
|
from homeassistant.const import ATTR_EDITABLE
|
|
from homeassistant.core import HomeAssistant, callback
|
|
|
|
|
|
@callback
|
|
def exclude_attributes(hass: HomeAssistant) -> set[str]:
|
|
"""Exclude editable hint from being recorded in the database."""
|
|
return {ATTR_EDITABLE}
|