From a4b0be2e853a588efd7c827ea7205be0e50154b1 Mon Sep 17 00:00:00 2001 From: Klaas Schoute Date: Tue, 12 Feb 2019 18:28:37 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=9C=20Merges/Redirect=20qwikswitch=20c?= =?UTF-8?q?omponent=20pages=20(#8512)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../binary_sensor.qwikswitch.markdown | 18 ---------- source/_components/light.qwikswitch.markdown | 19 ---------- source/_components/qwikswitch.markdown | 36 +++++++++++++++---- source/_components/sensor.qwikswitch.markdown | 18 ---------- source/_components/switch.qwikswitch.markdown | 20 ----------- 5 files changed, 30 insertions(+), 81 deletions(-) delete mode 100644 source/_components/binary_sensor.qwikswitch.markdown delete mode 100644 source/_components/light.qwikswitch.markdown delete mode 100644 source/_components/sensor.qwikswitch.markdown delete mode 100644 source/_components/switch.qwikswitch.markdown diff --git a/source/_components/binary_sensor.qwikswitch.markdown b/source/_components/binary_sensor.qwikswitch.markdown deleted file mode 100644 index e3fd446a3ba..00000000000 --- a/source/_components/binary_sensor.qwikswitch.markdown +++ /dev/null @@ -1,18 +0,0 @@ ---- -layout: page -title: "QwikSwitch Binary Sensor" -description: "Instructions on how to integrate Qwikswitch dimmers and relays as sensors into Home Assistant." -date: 2016-05-04 00:00 -sidebar: true -comments: false -sharing: true -footer: true -logo: qwikswitch.png -ha_category: Sensor -ha_iot_class: "Local Push" -ha_release: "0.68" ---- - -The `qwikswitch` binary_sensor platform allows you to use your [QwikSwitch](http://www.qwikswitch.co.za/) sensors within Home Assistant. - -The platform is configured through the [QwikSwitch component](/components/qwikswitch/). diff --git a/source/_components/light.qwikswitch.markdown b/source/_components/light.qwikswitch.markdown deleted file mode 100644 index 13f61413f64..00000000000 --- a/source/_components/light.qwikswitch.markdown +++ /dev/null @@ -1,19 +0,0 @@ ---- -layout: page -title: "QwikSwitch Light" -description: "Instructions on how to integrate Qwikswitch dimmers and relays as lights into Home Assistant." -date: 2016-05-04 00:00 -sidebar: true -comments: false -sharing: true -footer: true -logo: qwikswitch.png -ha_category: Light -ha_iot_class: "Local Push" -ha_release: "0.20" ---- - - -The `qwikswitch` light platform allows you to control your [QwikSwitch](http://www.qwikswitch.co.za/) relays and dimmers as lights from within Home Assistant. - -The platform is configured through the [QwikSwitch component](/components/qwikswitch/). diff --git a/source/_components/qwikswitch.markdown b/source/_components/qwikswitch.markdown index 9017de6e717..fc79c19274e 100644 --- a/source/_components/qwikswitch.markdown +++ b/source/_components/qwikswitch.markdown @@ -8,13 +8,30 @@ comments: false sharing: true footer: true logo: qwikswitch.png -ha_category: Hub +ha_category: + - Hub + - Binary Sensor + - Light + - Sensor + - Switch featured: false ha_release: "0.20" +redirect_from: + - /components/binary_sensor.qwikswitch/ + - /components/light.qwikswitch/ + - /components/sensor.qwikswitch/ + - /components/switch.qwikswitch/ --- The `qwikswitch` component is the main component to integrate various [QwikSwitch](http://www.qwikswitch.co.za/) devices with Home Assistant. The integration requires the QSUSB Modem device and connects to the QS Mobile application. +There is currently support for the following device types within Home Assistant: + +- Binary Sensor +- Light +- Sensor +- Switch + The `qwikswitch` component discovers all devices from QS Mobile. Currently, Relays and LED dimmers are discovered in Home Assistant. Relay devices are [lights](/components/light.qwikswitch/) by default, and can be configured as [switches](/components/switch.qwikswitch/). {% linkable_title Configuration %} @@ -26,7 +43,7 @@ qwikswitch: ``` {% configuration %} -url: +url: description: The URL including the port of your QwikSwitch hub. required: true type: string @@ -45,14 +62,14 @@ switches: required: false type: list sensors: - description: A dictionary of sensors. + description: A dictionary of sensors. required: false type: list keys: name: description: The sensor name from which the entity_id will be derived. required: true - id: + id: description: A QS_Id required: true type: string @@ -64,7 +81,7 @@ sensors: - qwikcord (Channel 1 = CTavg, Channel 2 = CTsum) required: true type: string - channel: + channel: description: The channel of interest. Refer to type above. required: false default: 1 @@ -98,6 +115,7 @@ automation: The full packet from the QSUSB API will be passed as `data` By default events will be fired if the value in the command (cmd) field of the listen packet equals: + - `TOGGLE` - Normal QwikSwitch Transmitter button - `SCENE EXE` - QwikSwitch Scene Transmitter buttons - `LEVEL` - QwikSwitch OFF Transmitter buttons @@ -108,7 +126,7 @@ On some QS Mobile servers button events are only generated for switches added to ### {% linkable_title Qwikswitch Sensors %} -The sensor configuration is a list of sensors. Depending on the type of sensor, it will be a sensor or binary_sensor. +The sensor configuration is a list of sensors. Depending on the type of sensor, it will be a sensor or binary_sensor. Example sensor configuration: @@ -128,3 +146,9 @@ qwikswitch: channel: 2 type: imod ``` + +### {% linkable_title Switch %} + +The `qwikswitch` platform allows you to control your [QwikSwitch](http://www.qwikswitch.co.za/) relays as switches from within Home Assistant. + +If the device name in the QS Mobile application ends with `Switch` it will be created as a switch, otherwise as a light. \ No newline at end of file diff --git a/source/_components/sensor.qwikswitch.markdown b/source/_components/sensor.qwikswitch.markdown deleted file mode 100644 index afc4fc6cb4c..00000000000 --- a/source/_components/sensor.qwikswitch.markdown +++ /dev/null @@ -1,18 +0,0 @@ ---- -layout: page -title: "QwikSwitch Sensor" -description: "Instructions on how to integrate Qwikswitch dimmers and relays as sensors into Home Assistant." -date: 2016-05-04 00:00 -sidebar: true -comments: false -sharing: true -footer: true -logo: qwikswitch.png -ha_category: Sensor -ha_iot_class: "Local Push" -ha_release: "0.67" ---- - -The `qwikswitch` sensor platform allows you to use your [QwikSwitch](http://www.qwikswitch.co.za/) sensors in Home Assistant. - -The platform is configured through the [QwikSwitch component](/components/qwikswitch/). diff --git a/source/_components/switch.qwikswitch.markdown b/source/_components/switch.qwikswitch.markdown deleted file mode 100644 index 7307fefd74b..00000000000 --- a/source/_components/switch.qwikswitch.markdown +++ /dev/null @@ -1,20 +0,0 @@ ---- -layout: page -title: "QwikSwitch Switch" -description: "Instructions on how to integrate QwikSwitch relays into Home Assistant." -date: 2016-05-04 00:00 -sidebar: true -comments: false -sharing: true -footer: true -logo: qwikswitch.png -ha_category: Switch -ha_iot_class: "Local Push" -ha_release: "0.20" ---- - -The `qwikswitch` platform allows you to control your [QwikSwitch](http://www.qwikswitch.co.za/) relays as switches from within Home Assistant. - -If the device name in the QS Mobile application ends with `Switch` it will be created as a switch, otherwise as a [light](/components/light.qwikswitch/). - -The platform is configured through the [QwikSwitch component](/components/qwikswitch/).