forked from home-assistant/core
Define fields for assist ask_question action
This commit is contained in:
@@ -86,3 +86,17 @@ ask_question:
|
|||||||
required: false
|
required: false
|
||||||
selector:
|
selector:
|
||||||
object:
|
object:
|
||||||
|
label_field: sentences
|
||||||
|
description_field: id
|
||||||
|
multiple: true
|
||||||
|
translation_key: answers
|
||||||
|
fields:
|
||||||
|
id:
|
||||||
|
required: true
|
||||||
|
selector:
|
||||||
|
text:
|
||||||
|
sentences:
|
||||||
|
required: true
|
||||||
|
selector:
|
||||||
|
text:
|
||||||
|
multiple: true
|
||||||
|
@@ -90,5 +90,13 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"selector": {
|
||||||
|
"answers": {
|
||||||
|
"fields": {
|
||||||
|
"id": "Answer ID",
|
||||||
|
"sentences": "Sentences"
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user