mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-23 01:06:52 +00:00
Update snips add-on component configuration (#7437)
This commit is contained in:
parent
82e77824a4
commit
9668c7de61
@ -51,12 +51,20 @@ Now it's time to start Snips for the first time. You can configure the microphon
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
Configuration variables:
|
{% configuration %}
|
||||||
|
assistant:
|
||||||
- **assistant**: The name of your custom assistant in `/share`. If no assistant is found then a default assistant will be used.
|
description: The name of your custom assistant in `/share`. If no assistant is found then a default assistant will be used.
|
||||||
- **language**: Language. This is used to select the default custom assistant, Currently `en`, `de` and `fr` are supported.
|
type: string
|
||||||
- **custom_tts**: Whether to use a TTS provider from Home Assistant for a variety of voices.
|
language:
|
||||||
- **tts_platform**: Which TTS platform to use.
|
description: Language. This is used to select the default custom assistant, Currently `en`, `de` and `fr` are supported.
|
||||||
|
type: string
|
||||||
|
custom_tts:
|
||||||
|
description: Whether to use a TTS provider from Home Assistant for a variety of voices.
|
||||||
|
type: boolean
|
||||||
|
tts_platform:
|
||||||
|
description: Which TTS platform to use.
|
||||||
|
type: string
|
||||||
|
{% endconfiguration %}
|
||||||
|
|
||||||
### {% linkable_title Home Assistant configuration %}
|
### {% linkable_title Home Assistant configuration %}
|
||||||
|
|
||||||
@ -89,6 +97,7 @@ Next create a weather sensor, e.g., one for (Dark Sky)[/components/sensor.darksk
|
|||||||
- temperature_max
|
- temperature_max
|
||||||
- temperature_min
|
- temperature_min
|
||||||
```
|
```
|
||||||
|
|
||||||
Next add this to your `configuration.yaml` file to reference a new `intent_script` component. This is a good practice to [split your configuration files](/docs/configuration/splitting_configuration/) up.
|
Next add this to your `configuration.yaml` file to reference a new `intent_script` component. This is a good practice to [split your configuration files](/docs/configuration/splitting_configuration/) up.
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
@ -98,6 +107,7 @@ intent_script: !include intent_script.yaml
|
|||||||
Finally, create this `intent_script.yaml` file in your configuration directory.
|
Finally, create this `intent_script.yaml` file in your configuration directory.
|
||||||
|
|
||||||
{% raw %}
|
{% raw %}
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
searchWeatherForecast:
|
searchWeatherForecast:
|
||||||
speech:
|
speech:
|
||||||
@ -110,6 +120,7 @@ searchWeatherForecast:
|
|||||||
{{ states('sensor.dark_sky_weather_daily_high_temperature') | round(0)}}
|
{{ states('sensor.dark_sky_weather_daily_high_temperature') | round(0)}}
|
||||||
and {{ states('sensor.dark_sky_weather_hourly_summary') }}
|
and {{ states('sensor.dark_sky_weather_hourly_summary') }}
|
||||||
```
|
```
|
||||||
|
|
||||||
{% endraw %}
|
{% endraw %}
|
||||||
|
|
||||||
Now just restart HassIO and ask it what the weather is like.
|
Now just restart HassIO and ask it what the weather is like.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user