Refer to hub component.

This commit is contained in:
Greg Dowling 2016-03-26 22:59:58 +00:00
parent bbacbdb73e
commit 46da3aef95

View File

@ -9,31 +9,12 @@ sharing: true
footer: true footer: true
logo: vera.png logo: vera.png
ha_category: Light ha_category: Light
ha_iot_class: "Local Push"
--- ---
The `vera` platform allows you to control your [Vera](http://getvera.com/) lights from within Home Assistant.
This `vera` light platform allows you to control your [Vera](http://getvera.com/) lights. They will be automatically discovered if the vera component is loaded.
This platform is useful if you wish for switches connected to your Vera controller to appear as lights in Home Assistant. All switches will be added as a light unless you exclude them in the configuration file. For more configuration information see the [Vera component](/components/vera/) documentation.
To use your Vera lights in your installation, add the following to your `configuration.yaml` file:
```yaml
# Example configuration.yaml entry
light:
platform: vera
vera_controller_url: http://YOUR_VERA_IP:3480/
device_data:
12:
name: My awesome sensor
exclude: true
13:
name: Another sensor
```
Configuration variables:
- **vera_controller_url** (*Required*): This is the base URL of your vera controller including the port number if not running on 80, eg. http://192.168.1.21:3480/
- **device_data** array (*Optional*):This contains an array additional device information for your Vera devices. It is not required and if not specified all sensors configured in your Vera controller will be added with default values. You should use the id of your Vera device as the key for the device within `device_data`.
- **name** (*Optional*):This parameter allows you to override the name of your Vera device in the frontend, if not specified the value configured for the device in your Vera will be used.
- **exclude** (*Optional*): This parameter allows you to exclude the specified device, it should be set to "True" if you want this device excluded.