From 2b32a9480bdca6a209603d11656818795fb2859c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ville=20Skytt=C3=A4?= Date: Thu, 18 Oct 2018 21:41:31 +0300 Subject: [PATCH] Huawei LTE sensor config updates (#6789) * huawei_lte sensor: Use new style config section * huawei_lte sensor: Update monitored_conditions default * :pencil2: Tweaks --- source/_components/sensor.huawei_lte.markdown | 53 +++++++++++++------ 1 file changed, 37 insertions(+), 16 deletions(-) diff --git a/source/_components/sensor.huawei_lte.markdown b/source/_components/sensor.huawei_lte.markdown index 682d3bc0518..82da92dd760 100644 --- a/source/_components/sensor.huawei_lte.markdown +++ b/source/_components/sensor.huawei_lte.markdown @@ -33,19 +33,40 @@ sensor: - traffic_statistics.TotalConnectTime ``` -Configuration variables: - -**monitored_conditions** array (*Optional*): Defines the data to monitor as sensors. Defaults to a few generally available data items expected to be available on most boxes. The names here are dot separated paths to information returned by the router. The data set varies by router model; to see what your router provides, set logging level to debug and watch homeassistant.components.huawei_lte debug entries. The following list contains a few example paths just to illustrate the syntax; these may not be available on all routers or their semantics may differ, and there are quite likely many more that are not listed here. - - - **device_information.SoftwareVersion**: Software version. - - **device_information.WanIPAddress**: WAN interface IP address. - - **device_information.WanIPv6Address**: WAN interface IP address. - - **device_signal.rsrq**: The signal RSRQ value. - - **device_signal.rsrp**: The signal RSRP value. - - **device_signal.rssi**: The signal RSSI value. - - **device_signal.sinr**: The signal SINR value. - - **traffic_statistics.CurrentDownloadRate**: Current download rate, bytes/sec. - - **traffic_statistics.CurrentUploadRate**: Current upload rate, bytes/sec. - - **traffic_statistics.TotalUpload**: Total bytes uploaded since last reset. - - **traffic_statistics.TotalDownload**: Total bytes downloaded since last reset. - - **traffic_statistics.TotalConnectTime**: Total time connected since last reset. +{% configuration %} +monitored_conditions: + description: Defines the data to monitor as sensors. The names here are dot-separated paths to information returned by the router. The dataset varies by router model; to see what your router provides, set logging level to debug and watch `homeassistant.components.huawei_lte` debug entries. The following list of values contains a few example paths just to illustrate the syntax; these may not be available on all routers, or their semantics may differ, and there are quite likely many more that are not listed here. + type: list + required: false + default: + - device_information.WanIPAddress + - device_signal.rsrq + - device_signal.rsrp + - device_signal.rssi + - device_signal.sinr + keys: + device_information.SoftwareVersion: + description: Software version + device_information.WanIPAddress: + description: WAN interface IP address + device_information.WanIPv6Address: + description: WAN interface IP address + device_signal.rsrq: + description: The signal RSRQ value + device_signal.rsrp: + description: The signal RSRP value + device_signal.rssi: + description: The signal RSSI value + device_signal.sinr: + description: The signal SINR value + traffic_statistics.CurrentDownloadRate: + description: Current download rate, bytes/sec + traffic_statistics.CurrentUploadRate: + description: Current upload rate, bytes/sec + traffic_statistics.TotalUpload: + description: Total bytes uploaded since last reset + traffic_statistics.TotalDownload: + description: Total bytes downloaded since last reset + traffic_statistics.TotalConnectTime: + description: Total time connected since last reset +{% endconfiguration %}