Component details pages added

This commit is contained in:
Paulus Schoutsen 2015-10-25 00:58:12 -07:00
parent 04f48395d6
commit 03d0d75ae1
130 changed files with 610 additions and 471 deletions

View file

@ -1,16 +1,16 @@
---
layout: page
title: "RESTful switch support"
layout: component
title: "RESTful switch"
description: "Instructions how to integrate REST switches into Home Assistant."
date: 2015-09-14 19:10
sidebar: false
sidebar: true
comments: false
sharing: true
footer: true
ha_category: Switch
---
<img src='/images/supported_brands/rest.png' class='brand pull-right' />
The rest switch platform allows you to control a given endpoint that supports a [RESTful API](https://en.wikipedia.org/wiki/Representational_state_transfer). The switch can get the state via GET and set the state via POST on a given REST resource.
To enable this switch, add the following lines to your `configuration.yaml` file: