Fix rest_command documentation

The page was probably copied from the switch component. Minor change to fix this.
This commit is contained in:
Robert 2018-06-15 15:28:05 +02:00 committed by GitHub
parent 15dd6dba7e
commit 0b4d5215cd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -18,7 +18,7 @@ This component can expose regular REST commands as services. Services can be cal
[script]: /components/script/
[automation]: /getting-started/automation/
To enable this switch, add the following lines to your `configuration.yaml` file:
To use this component, add the following lines to your `configuration.yaml` file:
```yaml
# Example configuration.yaml entry
@ -39,4 +39,5 @@ Configuration variables:
- **timeout** (*Optional*): Timeout for requests. Defaults to 10 seconds.
- **content_type** (*Optional*): Content type for the request.
The commands can be dynamic, using templates to insert values of other entities. Service call support variables for template stuff.
The commands can be dynamic, using templates to insert values of other entities.
Service call support variables for template stuff.