From 63c958186ecb63a259f7922fc8bb1d9ab45cc2e9 Mon Sep 17 00:00:00 2001 From: Anders Melchiorsen Date: Tue, 9 Apr 2019 20:28:56 +0200 Subject: [PATCH] Netgear LTE binary sensors (#9178) --- source/_components/netgear_lte.markdown | 53 +++++++++++++------------ 1 file changed, 27 insertions(+), 26 deletions(-) diff --git a/source/_components/netgear_lte.markdown b/source/_components/netgear_lte.markdown index bcb1d10b93e..ed9d9ea94df 100644 --- a/source/_components/netgear_lte.markdown +++ b/source/_components/netgear_lte.markdown @@ -13,6 +13,7 @@ ha_category: - Network - Notifications - Sensor + - Binary Sensor ha_iot_class: Local Polling redirect_from: - /components/notify.netgear_lte/ @@ -23,14 +24,11 @@ The Netgear LTE integration for Home Assistant allows you to observe and control There is currently support for the following device types within Home Assistant: -- [Notifications](#notifications) -- [Sensor](#sensor) +- Notifications +- Sensors +- Binary Sensors -The integration provides: - -* a notify service that will send an SMS -* a sensor with the number of unread SMS messages in the inbox -* a sensor with data usage +The integration supports sending notifications with SMS, reporting incoming SMS with events and reporting the modem and connection state in a number of sensors and binary sensors. ## {% linkable_title Configuration %} @@ -48,6 +46,10 @@ netgear_lte: monitored_conditions: - usage - sms + binary_sensor: + monitored_conditions: + - wire_connected + - mobile_connected ``` {% configuration %} @@ -81,15 +83,11 @@ sensor: monitored_conditions: description: Sensor types to create. required: false - default: usage, radio_quality + default: usage type: list keys: cell_id: description: The Cell ID, a number identifying the base station. - wire_connected: - description: The wired uplink connection state, e.g., "Disconnected". - mobile_connected: - description: The LTE connection state, e.g., "Connected". connection_text: description: A connection text, e.g., "4G". connection_type: @@ -102,8 +100,6 @@ sensor: description: A number with the radio quality in percent, e.g., "55" register_network_display: description: The name of the service provider. - roaming: - description: A boolean showing whether the modem is currently roaming, e.g., "False". rx_level: description: The RSRP value, a measurement of the received power level, e.g., "-95". sms: @@ -116,20 +112,25 @@ sensor: description: Current upstream connection, "WAN" or "LTE". usage: description: Amount of data transferred. +binary_sensor: + description: Configuration options for binary sensors. + required: false + type: map + keys: + monitored_conditions: + description: Binary sensor types to create. + required: false + default: mobile_connected + type: list + keys: + mobile_connected: + description: The LTE connection state. + wire_connected: + description: The wired uplink connection state. + roaming: + description: The current roaming state. {% endconfiguration %} -## {% linkable_title Notifications %} - -The `netgear_lte` integration allows you to use a Netgear LTE modem for notifications from Home Assistant. The message will be sent as an SMS text message. - -If you do not supply `notify` configuration, a default notification service with no default recipient is created. - -## {% linkable_title Sensor %} - -The `netgear_lte` integration allows you to monitor your Netgear LTE modem. - -If you do not supply `sensor` configuration, a default set of sensors is created. - ## {% linkable_title Events %} ### {% linkable_title Event `netgear_lte_sms` %}