added support for home assistant postgres database and convenience function to get state of entity
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
"""Database table definitions for Home Assistant PostgreSQL database."""
|
||||
|
||||
from .event_data import EventData
|
||||
from .event_types import EventTypes
|
||||
from .events import Events
|
||||
from .migration_changes import MigrationChanges
|
||||
from .recorder_runs import RecorderRuns
|
||||
from .schema_changes import SchemaChanges
|
||||
from .state_attributes import StateAttributes
|
||||
from .states_meta import StatesMeta
|
||||
from .states import States
|
||||
from .statistics_meta import StatisticsMeta
|
||||
from .statistics_runs import StatisticsRuns
|
||||
from .statistics_short_term import StatisticsShortTerm
|
||||
from .statistics import Statistics
|
||||
|
||||
__all__ = [
|
||||
"EventData",
|
||||
"EventTypes",
|
||||
"Events",
|
||||
"MigrationChanges",
|
||||
"RecorderRuns",
|
||||
"SchemaChanges",
|
||||
"StateAttributes",
|
||||
"StatesMeta",
|
||||
"States",
|
||||
"StatisticsMeta",
|
||||
"StatisticsRuns",
|
||||
"StatisticsShortTerm",
|
||||
"Statistics",
|
||||
]
|
||||
Reference in New Issue
Block a user