Add conversation supported feature CONTROL (#121036)

This commit is contained in:
Paulus Schoutsen 2024-07-03 14:30:51 +02:00 committed by GitHub
parent ac57eb7614
commit a885bdfe76
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 28 additions and 2 deletions

View file

@ -1,5 +1,7 @@
"""Const for conversation integration."""
from enum import IntFlag
DOMAIN = "conversation"
DEFAULT_EXPOSED_ATTRIBUTES = {"device_class"}
HOME_ASSISTANT_AGENT = "conversation.home_assistant"
@ -12,3 +14,9 @@ ATTR_CONVERSATION_ID = "conversation_id"
SERVICE_PROCESS = "process"
SERVICE_RELOAD = "reload"
class ConversationEntityFeature(IntFlag):
"""Supported features of the conversation entity."""
CONTROL = 1