home-assistant.io/source/_components/switch.upcloud.markdown
Ville Skyttä 0b988cbd2b Add UpCloud platform (#4543)
* Add UpCloud platform

* Add scan_interval for UpCloud.

* Update upcloud.markdown

* Update switch.upcloud.markdown

* Update binary_sensor.upcloud.markdown
2018-03-02 02:05:14 +01:00

35 lines
851 B
Markdown

---
layout: page
title: UpCloud Switch
description: Instructions on how to set up UpCloud switches within Home Assistant.
date: 2018-01-28 20:00
sidebar: true
comments: false
sharing: true
footer: true
logo: upcloud.png
ha_category: Switch
ha_release: 0.65
ha_iot_class: Cloud Polling
---
The `upcloud` switch platform allows you to control (start/stop) your UpCloud servers.
To use your UpCloud servers, you first have to set up your [UpCloud hub](/components/upcloud/) and then add the following to your `configuration.yaml` file:
```yaml
# Example configuration.yaml entry
switch:
- platform: upcloud
servers:
- 002167b7-4cb1-44b7-869f-e0900ddeeae1
- 00886296-6137-4074-afe3-068e16d89d00
```
{% configuration %}
servers:
description: List of servers you want to control.
required: true
type: list
{% endconfiguration %}