Skip to content

Commit e99e802

Browse files
authored
Small cleanup (#3799)
1 parent 1a688dd commit e99e802

3 files changed

Lines changed: 6 additions & 8 deletions

File tree

intents.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -606,7 +606,7 @@ HassLightSet:
606606

607607
# -------------------------------------------------------------------------
608608

609-
name_color_temperature:
609+
name_temperature:
610610
description: "Set the color temperature of a light by name"
611611
slots:
612612
- "name"
@@ -692,7 +692,7 @@ HassLightSet:
692692

693693
# -------------------------------------------------------------------------
694694

695-
color_temperature_only:
695+
temperature_only:
696696
description: "Set the color temperature of all lights in the voice satellite's area"
697697
slots:
698698
- "temperature"
@@ -704,7 +704,7 @@ HassLightSet:
704704

705705
# -------------------------------------------------------------------------
706706

707-
area_color_temperature:
707+
area_temperature:
708708
description: "Set the color temperature of all lights in an area"
709709
slots:
710710
- "area"
@@ -716,7 +716,7 @@ HassLightSet:
716716

717717
# -------------------------------------------------------------------------
718718

719-
floor_color_temperature:
719+
floor_temperature:
720720
description: "Set the color temperature of all lights on a floor"
721721
slots:
722722
- "floor"

sentences/en/_common.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -432,7 +432,7 @@ expansion_rules:
432432
how_many: "how many [of <the>]"
433433
brightness: "{brightness}[([ ]%)| percent]"
434434
light: "(light|lights|lighting|lamp|lamps)"
435-
color_temp: "({color_temperature:temperature}[[ ](K|Kelvin)]|{color_temperature_names:temperature})"
435+
color_temp: "({color_temperature:temperature}[[ ](k|kelvin)]|{color_temperature_names:temperature})"
436436
turn: "(turn|switch|change|bring)"
437437
temp: "(temp|temperature)"
438438
temperature: "{temperature}[([ ]°)|( degree[s])]"

sentences/en/light_HassLightSet.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -106,8 +106,7 @@ intents:
106106
domain: light
107107

108108
- sentences:
109-
- "[<numeric_value_set>] [the] color temperature in <area> to <color_temp>"
110-
- "[<numeric_value_set>] [the] color temperature of <area> to <color_temp>"
109+
- "[<numeric_value_set>] [the] color temperature <in> <area> to <color_temp>"
111110
- "[<numeric_value_set>] <area> color temperature [to] <color_temp>"
112111
- "[<numeric_value_set>] [the] [color] temperature of [(<all>|<the>)] <light> [<in>] <area> to <color_temp>"
113112
response: "temperature"
@@ -122,7 +121,6 @@ intents:
122121
area:
123122
slot: true
124123

125-
# Floor support for brightness
126124
- sentences:
127125
- "[<numeric_value_set>] <floor> color temperature [to] <color_temp>"
128126
response: "temperature"

0 commit comments

Comments
 (0)