Separate recorder database schema from other classes (#72977)
* Separate recorder database schema from other classes * fix logbook imports * migrate new tests * few more * last one * fix merge Co-authored-by: J. Nick Koston <nick@koston.org>
This commit is contained in:
parent
ab82f71b43
commit
5f2b4001f3
59 changed files with 771 additions and 733 deletions
|
@ -4,7 +4,7 @@ from __future__ import annotations
|
|||
from datetime import timedelta
|
||||
|
||||
from homeassistant.components.input_datetime import CONF_HAS_DATE, CONF_HAS_TIME, DOMAIN
|
||||
from homeassistant.components.recorder.models import StateAttributes, States
|
||||
from homeassistant.components.recorder.db_schema import StateAttributes, States
|
||||
from homeassistant.components.recorder.util import session_scope
|
||||
from homeassistant.const import ATTR_EDITABLE
|
||||
from homeassistant.core import HomeAssistant, State
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue