"""SQLAlchemy model for the 'state_attributes' table in the Home Assistant PostgreSQL database.""" from sqlalchemy import Column, BigInteger, Text from .base import Base class StateAttributes(Base): """SQLAlchemy model for the 'state_attributes' table.""" __tablename__ = "state_attributes" __table_args__ = {"schema": "public"} attributes_id = Column(BigInteger, primary_key=True, autoincrement=True) hash = Column(BigInteger, nullable=True) shared_attrs = Column(Text, nullable=True)