From 7610a718295a1ef880b7c06ba8ec46c0de8c3cb4 Mon Sep 17 00:00:00 2001 From: SMKRV Date: Fri, 22 Nov 2024 17:20:07 +0300 Subject: [PATCH] Release v2.0.0 --- custom_components/ha_text_ai/sensor.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/custom_components/ha_text_ai/sensor.py b/custom_components/ha_text_ai/sensor.py index 7f90f0f..e6cf66b 100644 --- a/custom_components/ha_text_ai/sensor.py +++ b/custom_components/ha_text_ai/sensor.py @@ -13,13 +13,10 @@ class HATextAISensor(CoordinatorEntity, SensorEntity): super().__init__(coordinator) self._config_entry = config_entry - # Убираем _response из unique_id self._attr_unique_id = config_entry.entry_id - # Явно задаем имя self._attr_name = "HA Text AI" - # Инициализация состояний self._current_state = STATE_INITIALIZING self._error_count = 0 self._last_error = None