mirror of
https://github.com/smkrv/ha-text-ai.git
synced 2026-07-30 07:43:55 +08:00
Release v2.0.0
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
"""Data coordinator for HA text AI."""
|
"""Data coordinator for HA text AI."""
|
||||||
import logging
|
import logging
|
||||||
import asyncio
|
import asyncio
|
||||||
from datetime import timedelta
|
from datetime import timedelta, datetime
|
||||||
from typing import Any, Dict, Optional
|
from typing import Any, Dict, Optional
|
||||||
|
|
||||||
from homeassistant.core import HomeAssistant
|
from homeassistant.core import HomeAssistant
|
||||||
@@ -18,7 +18,7 @@ from .const import (
|
|||||||
RETRY_DELAY,
|
RETRY_DELAY,
|
||||||
)
|
)
|
||||||
|
|
||||||
_LOGGER = logging.getLogger(__name__)
|
_LOGGER = logging.getLogger(__name__)
|
||||||
|
|
||||||
class HATextAICoordinator(DataUpdateCoordinator):
|
class HATextAICoordinator(DataUpdateCoordinator):
|
||||||
"""Class to manage fetching data from the API."""
|
"""Class to manage fetching data from the API."""
|
||||||
|
|||||||
Reference in New Issue
Block a user