diff --git a/custom_sentences/en/climate.yaml b/custom_sentences/en/climate.yaml new file mode 100644 index 0000000..6013814 --- /dev/null +++ b/custom_sentences/en/climate.yaml @@ -0,0 +1,19 @@ +language: "en" + +intents: + MasterBedroomModes: + data: + - sentences: + - "(set|change) [the] master bedroom mode to {mode}" + - "(activate|turn on) {mode} in [the] master bedroom" + +lists: + mode: + values: + - in: "day mode" + out: "button.master_bedroom_day_mode" + - in: "night mode" + out: "button.master_bedroom_night_mode" + - in: "bedtime mode" + out: "button.master_bedroom_bedtime_mode" + diff --git a/packages/assist/climate.yaml b/packages/assist/climate.yaml new file mode 100644 index 0000000..0026394 --- /dev/null +++ b/packages/assist/climate.yaml @@ -0,0 +1,8 @@ +intent_script: + MasterBedroomModes: + action: + service: "button.press" + data: + entity_id: "{{ mode }}" + speech: + text: "Master bedroom set to {{ mode }}" \ No newline at end of file