From ae985d87a306a488423089dd9343c15e2b479e3c Mon Sep 17 00:00:00 2001 From: Klaas Schoute Date: Tue, 26 Feb 2019 15:22:13 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=9C=20Merges/Redirect=20Netgear=20LTE?= =?UTF-8?q?=20component=20pages=20(#8740)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- source/_components/netgear_lte.markdown | 84 +++++++++++++++++-- .../_components/notify.netgear_lte.markdown | 41 --------- .../_components/sensor.netgear_lte.markdown | 47 ----------- 3 files changed, 77 insertions(+), 95 deletions(-) delete mode 100644 source/_components/notify.netgear_lte.markdown delete mode 100644 source/_components/sensor.netgear_lte.markdown diff --git a/source/_components/netgear_lte.markdown b/source/_components/netgear_lte.markdown index 3c407ce0686..92aaa747e54 100644 --- a/source/_components/netgear_lte.markdown +++ b/source/_components/netgear_lte.markdown @@ -9,12 +9,23 @@ sharing: true footer: true logo: netgear.png ha_release: 0.72 -ha_category: Network +ha_category: + - Network + - Notifications + - Sensor ha_iot_class: "Local Polling" +redirect_from: + - /components/notify.netgear_lte/ + - /components/sensor.netgear_lte/ --- The Netgear LTE integration for Home Assistant allows you to observe and control [Netgear LTE modems](https://www.netgear.com/home/products/mobile-broadband/lte-modems/default.aspx), currently only tested with LB2120. +There is currently support for the following device types within Home Assistant: + +- [Notifications](#notifications) +- [Sensor](#sensor) + The integration provides: * a notify service that will send an SMS @@ -34,11 +45,70 @@ netgear_lte: {% configuration %} host: - description: The IP address of the modem web interface. - required: true - type: string + description: The IP address of the modem web interface. + required: true + type: string password: - description: The password used for the modem web interface. - required: true - type: string + description: The password used for the modem web interface. + required: true + type: string +{% endconfiguration %} + +## {% linkable_title Notifications %} + +The `netgear_lte` platform allows you to use a Netgear LTE modem for notifications from Home Assistant. The message will be sent as an SMS text message. + +```yaml +# Example configuration.yaml entry +notify: + - platform: netgear_lte + name: sms + target: "+15105550123" +``` + +{% configuration %} +target: + description: The phone number of a default recipient or a list with multiple recipients. + required: true + type: string, list +name: + description: Setting the optional parameter `name` allows multiple notifiers to be created. + required: false + default: notify + type: string +host: + description: The modem to use. Not needed if you only have one. + required: false + type: string +{% endconfiguration %} + +## {% linkable_title Sensor %} + +The `netgear_lte` sensor platform allows you to monitor your Netgear LTE modem. + +To enable the sensor, add the following lines to your `configuration.yaml` file: + +```yaml +# Example configuration.yaml entry +sensor: + - platform: netgear_lte + sensors: + - sms + - usage +``` + +{% configuration %} +sensors: + description: Sensor types to create. + required: true + type: list + keys: + sms: + description: Number of unread SMS messages in the modem inbox. + usage: + description: Amount of data transferred. +host: + description: The modem to use. Not needed if you only have one. + required: false + type: string {% endconfiguration %} diff --git a/source/_components/notify.netgear_lte.markdown b/source/_components/notify.netgear_lte.markdown deleted file mode 100644 index e2dc124f918..00000000000 --- a/source/_components/notify.netgear_lte.markdown +++ /dev/null @@ -1,41 +0,0 @@ ---- -layout: page -title: "Netgear LTE Notify" -description: "Instructions on how to add Netgear LTE notifications to Home Assistant." -date: 2018-06-06 23:00 -sidebar: true -comments: false -sharing: true -footer: true -logo: netgear.png -ha_category: Notifications -ha_release: 0.72 ---- - -The `netgear_lte` platform allows you to use a Netgear LTE modem for notifications from Home Assistant. The message will be sent as an SMS text message. - -This requires you to have set up the [Netgear LTE component](/components/netgear_lte/). - -```yaml -# Example configuration.yaml entry -notify: - - platform: netgear_lte - name: sms - target: "+15105550123" -``` - -{% configuration %} -target: - description: The phone number of a default recipient or a list with multiple recipients. - required: true - type: string, list -name: - description: Setting the optional parameter `name` allows multiple notifiers to be created. - required: false - default: notify - type: string -host: - description: The modem to use. Not needed if you only have one. - required: false - type: string -{% endconfiguration %} diff --git a/source/_components/sensor.netgear_lte.markdown b/source/_components/sensor.netgear_lte.markdown deleted file mode 100644 index b0031f161cf..00000000000 --- a/source/_components/sensor.netgear_lte.markdown +++ /dev/null @@ -1,47 +0,0 @@ ---- -layout: page -title: "Netgear LTE Sensor" -description: "Instructions on how to integrate Netgear LTE sensors into Home Assistant." -date: 2018-06-06 23:00 -sidebar: true -comments: false -sharing: true -footer: true -logo: netgear.png -ha_release: 0.72 -ha_category: Network -ha_iot_class: "Local Polling" ---- - -The `netgear_lte` sensor platform allows you to monitor your Netgear LTE modem. - -This requires you to have set up the [Netgear LTE component](/components/netgear_lte/). - -## {% linkable_title Configuration %} - -To enable the sensor, add the following lines to your `configuration.yaml` file: - -```yaml -# Example configuration.yaml entry -sensor: - - platform: netgear_lte - sensors: - - sms - - usage -``` - -{% configuration %} -sensors: - description: Sensor types to create. - required: true - type: list - keys: - sms: - description: Number of unread SMS messages in the modem inbox. - usage: - description: Amount of data transferred. -host: - description: The modem to use. Not needed if you only have one. - required: false - type: string -{% endconfiguration %}