Skip to content

Commit 9beedf0

Browse files
authored
Add "usable" label (#3053)
1 parent e639b0c commit 9beedf0

2 files changed

Lines changed: 15 additions & 13 deletions

File tree

intents.yaml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ HassNevermind:
186186
supported: true
187187
domain: homeassistant
188188
description: "Does nothing. Used to cancel a request"
189-
importance: "complete"
189+
importance: "usable"
190190
slot_combinations:
191191
- slots: []
192192
example: "nevermind"
@@ -278,7 +278,7 @@ HassGetCurrentDate:
278278
supported: true
279279
domain: homeassistant
280280
description: "Gets the current date"
281-
importance: "complete"
281+
importance: "usable"
282282
slot_combinations:
283283
- slots: []
284284
example: "what is the date"
@@ -290,7 +290,7 @@ HassGetCurrentTime:
290290
supported: true
291291
domain: homeassistant
292292
description: "Gets the current time"
293-
importance: "complete"
293+
importance: "usable"
294294
slot_combinations:
295295
- slots: []
296296
example: "what time is it"
@@ -306,7 +306,7 @@ HassLightSet:
306306
supported: true
307307
domain: light
308308
description: "Sets the brightness or color of a light"
309-
importance: "complete"
309+
importance: "usable"
310310
slots:
311311
name:
312312
description: "Name of a device or entity"
@@ -401,7 +401,7 @@ HassClimateGetTemperature:
401401
supported: true
402402
domain: climate
403403
description: "Gets the current temperature of a climate device or entity"
404-
importance: "complete"
404+
importance: "usable"
405405
slots:
406406
name:
407407
description: "Name of a device or entity"
@@ -452,7 +452,7 @@ HassGetWeather:
452452
supported: true
453453
domain: weather
454454
description: "Gets the current weather"
455-
importance: "complete"
455+
importance: "usable"
456456
slots:
457457
name:
458458
description: "Name of the weather entity to use"
@@ -541,7 +541,7 @@ HassMediaPause:
541541
supported: true
542542
domain: media_player
543543
description: "Pauses a media player"
544-
importance: "complete"
544+
importance: "usable"
545545
slots:
546546
name:
547547
description: "Name of a device or entity"
@@ -562,7 +562,7 @@ HassMediaUnpause:
562562
supported: true
563563
domain: media_player
564564
description: "Unpauses a media player"
565-
importance: "complete"
565+
importance: "usable"
566566
slots:
567567
name:
568568
description: "Name of a device or entity"
@@ -653,7 +653,7 @@ HassStartTimer:
653653
supported: true
654654
domain: homeassistant
655655
description: "Starts a timer"
656-
importance: "complete"
656+
importance: "usable"
657657
slots:
658658
hours:
659659
description: "Number of hours"
@@ -767,7 +767,7 @@ HassCancelAllTimers:
767767
supported: true
768768
domain: homeassistant
769769
description: "Cancels all timers"
770-
importance: "complete"
770+
importance: "usable"
771771
slots:
772772
area:
773773
description: "Area of the device used to start the timer"
@@ -782,7 +782,7 @@ HassCancelTimer:
782782
supported: true
783783
domain: homeassistant
784784
description: "Cancels a timer"
785-
importance: "complete"
785+
importance: "usable"
786786
slots:
787787
start_hours:
788788
description: "Hours the timer was started with"
@@ -1730,7 +1730,7 @@ HassTimerStatus:
17301730
supported: true
17311731
domain: homeassistant
17321732
description: "Reports status of one or more timers"
1733-
importance: "complete"
1733+
importance: "usable"
17341734
slots:
17351735
start_hours:
17361736
description: "Hours the timer was started with"

script/intentfest/validate.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,9 @@ def validate(value) -> vol.Schema:
105105
vol.Optional("supported"): bool,
106106
vol.Required("domain"): str,
107107
vol.Required("description"): str,
108-
vol.Required("importance"): vol.Any("required", "complete", "optional"),
108+
vol.Required("importance"): vol.Any(
109+
"required", "usable", "complete", "optional"
110+
),
109111
vol.Optional("slots"): {
110112
str: {
111113
vol.Required("description"): str,

0 commit comments

Comments
 (0)