We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d13089e commit 0eda9adCopy full SHA for 0eda9ad
source/_components/rest_command.markdown
@@ -0,0 +1,27 @@
1
+---
2
+layout: page
3
+title: "RESTful Command"
4
+description: "Instructions how to integrate REST commands into Home Assistant."
5
+date: 2016-12-27 00:00
6
+sidebar: true
7
+comments: false
8
+sharing: true
9
+footer: true
10
+logo: restful.png
11
+ha_category: Automation
12
+ha_release: 0.36.0
13
14
+
15
+This component can expose regular rest commands as services. Services can be called from a [script] or in [automation].
16
17
+[script]: /components/script/
18
+[automation]: /getting-started/automation/
19
20
+To enable this switch, add the following lines to your `configuration.yaml` file:
21
+```yaml
22
+# Example configuration.yaml entry
23
+rest_command:
24
+```
25
26
+Configuration variables:
27
+- **timeout** (*Optional*): Timeout for requests, default 10 seconds.
0 commit comments