diff --git a/source/_components/binary_sensor.linode.markdown b/source/_components/binary_sensor.linode.markdown deleted file mode 100644 index 414d4c2ae17..00000000000 --- a/source/_components/binary_sensor.linode.markdown +++ /dev/null @@ -1,35 +0,0 @@ ---- -layout: page -title: "Linode Binary Sensor" -description: "Instructions on how to set up Linode binary sensors within Home Assistant." -date: 2017-10-20 08:00 -sidebar: true -comments: false -sharing: true -footer: true -ha_category: System Monitor -logo: linode.png -ha_release: 0.57 -ha_iot_class: "Cloud Polling" ---- - -The `linode` binary sensor platform allows you to monitor your Linode nodes. - -## {% linkable_title Configuration %} - -Add the following to your `configuration.yaml` file: - -```yaml -# Example configuration.yaml entry -binary_sensor: - - platform: linode - nodes: - - 'myvpsname' -``` - -{% configuration %} -nodes: - description: List of VPSs you want to control. - required: true - type: string -{% endconfiguration %} diff --git a/source/_components/linode.markdown b/source/_components/linode.markdown index ccd090b47e8..4dbd4f70136 100644 --- a/source/_components/linode.markdown +++ b/source/_components/linode.markdown @@ -7,23 +7,34 @@ sidebar: true comments: false sharing: true footer: true -ha_category: System Monitor +ha_category: + - System Monitor + - Binary Sensor + - Switch logo: linode.png ha_release: 0.57 ha_iot_class: "Cloud Polling" +redirect_from: + - /components/binary_sensor.linode/ + - /components/switch.linode/ --- The `linode` component allows you to access the information about your [Linode](https://linode.com) systems from Home Assistant. +There is currently support for the following device types within Home Assistant: + +- [Binary Sensor](#binary-sensor) +- [Switch](#switch) + ## {% linkable_title Setup %} Obtain your oAuth2 Access Token from Linode account. -* -* Log in -* Select API Tokens -* Create a Personal Access Token, -* Assigned scope (Please choose the least possible access required.) +- +- Log in +- Select API Tokens +- Create a Personal Access Token, +- Assigned scope (Please choose the least possible access required.) ## {% linkable_title Configuration %} @@ -41,3 +52,45 @@ linode: required: true type: string {% endconfiguration %} + +## {% linkable_title Binary Sensor %} + +The `linode` binary sensor platform allows you to monitor your Linode nodes. + +Add the following to your `configuration.yaml` file: + +```yaml +# Example configuration.yaml entry +binary_sensor: + - platform: linode + nodes: + - 'myvpsname' +``` + +{% configuration %} +nodes: + description: List of VPSs you want to control. + required: true + type: string +{% endconfiguration %} + +## {% linkable_title Switch %} + +The `linode` switch platform allows you to turn your Linode nodes on and off. + +Add the following to your `configuration.yaml` file: + +```yaml +# Example configuration.yaml entry +switch: + - platform: linode + nodes: + - 'myvpsname' +``` + +{% configuration linode %} + nodes: + description: List of VPSs you want to control. + required: true + type: string +{% endconfiguration %} diff --git a/source/_components/switch.linode.markdown b/source/_components/switch.linode.markdown deleted file mode 100644 index f996d96959e..00000000000 --- a/source/_components/switch.linode.markdown +++ /dev/null @@ -1,33 +0,0 @@ ---- -layout: page -title: "Linode Switch" -description: "Instructions on how to set up Linode switch within Home Assistant." -date: 2017-10-20 08:00 -sidebar: true -comments: false -sharing: true -footer: true -ha_category: System Monitor -logo: linode.png -ha_release: 0.57 -ha_iot_class: "Cloud Polling" ---- - -The `linode` switch platform allows you to turn your Linode nodes on and off. - -Add the following to your `configuration.yaml` file: - -```yaml -# Example configuration.yaml entry -switch: - - platform: linode - nodes: - - 'myvpsname' -``` - -{% configuration linode %} - nodes: - description: List of VPSs you want to control. - required: true - type: string -{% endconfiguration %}