home-assistant.io/source/_components/switch.vultr.markdown
Fabian Affolter c54442720f
Update config style and 'ha_release' (#3897)
* Update config style and 'ha_release'

* Minor changes
2017-11-05 15:29:40 +01:00

56 lines
1.2 KiB
Markdown

---
layout: page
title: "Vultr Switch"
description: "Instructions on how to set up Vultr switches within Home Assistant."
date: 2017-10-17 21:00
sidebar: true
comments: false
sharing: true
footer: true
logo: vultr.png
ha_category: Switch
ha_release: "0.58"
ha_iot_class: "Cloud Polling"
---
The `vultr` switch platform allows you to control (start/stop) your [Vultr](https://www.vultr.com/) subscription.
To control your Vultr subscription, you first have to set up your [Vultr hub](/components/vultr/).
<p class='note'>
The following examples assume a subscription that has an ID of `123456` and a label of `Web Server`
</p>
Minimal `configuration.yaml` (produces `switch.vultr_web_server`):
```yaml
# Example configuration.yaml entry
switch:
- platform: vultr
subscription: 123456
```
{% configuration %}
subscription:
description: List of droplets you want to control.
required: true
type: string
name:
description: The name you want to give this switch.
required: false
default: "Vultr {subscription label}"
type: string
{% endconfiguration %}
Full `configuration.yaml` (produces `switch.amazing_server`):
```yaml
switch:
- platform: vultr
name: Amazing Server
subscription: 123456
```