Reset to current local state

This commit is contained in:
SMKRV
2024-11-18 11:58:27 +03:00
parent b41df51f9c
commit 57c83a76d9
2 changed files with 1 additions and 2 deletions
+1 -2
View File
@@ -1,7 +1,7 @@
"""Sensor platform for HA text AI."""
from typing import Any, Callable, Dict, Optional
from homeassistant.components.sensor import SensorEntity
from homeassistant.components.sensor import SensorEntity, SensorStateClass
from homeassistant.config_entries import ConfigEntry
from homeassistant.core import HomeAssistant
from homeassistant.helpers.entity_platform import AddEntitiesCallback
@@ -56,4 +56,3 @@ class HATextAISensor(CoordinatorEntity, SensorEntity):
ATTR_RESPONSE: last_response,
ATTR_LAST_UPDATED: self.coordinator.last_update_success_time,
}
BIN
View File
Binary file not shown.