mirror of
https://github.com/acon96/home-llm.git
synced 2026-01-10 06:07:58 -05:00
@@ -591,7 +591,7 @@ class LocalLLMAgent(ConversationEntity, AbstractConversationAgent):
|
||||
area_id = entity.area_id
|
||||
|
||||
if area_id:
|
||||
area = area_registry.async_get_area(entity.area_id)
|
||||
area = area_registry.async_get_area(area_id)
|
||||
if area:
|
||||
attributes["area_id"] = area.id
|
||||
attributes["area_name"] = area.name
|
||||
|
||||
Reference in New Issue
Block a user