Release v2.0.0

This commit is contained in:
SMKRV
2024-11-22 17:20:07 +03:00
parent 8800f226d2
commit 7610a71829
-3
View File
@@ -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