Release v2.0.0

This commit is contained in:
SMKRV
2024-11-22 15:38:29 +03:00
parent a421825050
commit accb15a92a
+1 -3
View File
@@ -64,8 +64,7 @@ class HATextAISensor(CoordinatorEntity, SensorEntity):
"""HA text AI Sensor.""" """HA text AI Sensor."""
_attr_has_entity_name = True _attr_has_entity_name = True
_attr_state_class = SensorStateClass.MEASUREMENT _attr_device_class = SensorDeviceClass.TEXT
_attr_device_class = SensorDeviceClass.TIMESTAMP
def __init__( def __init__(
self, self,
@@ -77,7 +76,6 @@ class HATextAISensor(CoordinatorEntity, SensorEntity):
self._config_entry = config_entry self._config_entry = config_entry
self._attr_unique_id = f"{config_entry.entry_id}" self._attr_unique_id = f"{config_entry.entry_id}"
self._attr_name = "Response" self._attr_name = "Response"
self._attr_device_class = SensorDeviceClass.TEXT
self._attr_suggested_display_precision = 0 self._attr_suggested_display_precision = 0
self._error_count = 0 self._error_count = 0
self._last_error = None self._last_error = None