mirror of
https://github.com/home-assistant/developers.home-assistant.git
synced 2025-07-19 07:16:29 +00:00
Add description to intent class example (#2201)
This commit is contained in:
parent
ddea7bc1f5
commit
477b03870c
@ -23,6 +23,8 @@ class CountInvocationIntent(intent.IntentHandler):
|
|||||||
# Type of intent to handle
|
# Type of intent to handle
|
||||||
intent_type = "CountInvocationIntent"
|
intent_type = "CountInvocationIntent"
|
||||||
|
|
||||||
|
description = "Count how often it has been called"
|
||||||
|
|
||||||
# Optional. A validation schema for slots
|
# Optional. A validation schema for slots
|
||||||
# slot_schema = {
|
# slot_schema = {
|
||||||
# 'item': cv.string
|
# 'item': cv.string
|
||||||
|
Loading…
x
Reference in New Issue
Block a user