Huawei LTE sensor config updates (#6789)

* huawei_lte sensor: Use new style config section

* huawei_lte sensor: Update monitored_conditions default

* ✏️ Tweaks
This commit is contained in:
Ville Skyttä 2018-10-18 21:41:31 +03:00 committed by Franck Nijhof
parent 2ad2ca471b
commit 2b32a9480b

View File

@ -33,19 +33,40 @@ sensor:
- traffic_statistics.TotalConnectTime - traffic_statistics.TotalConnectTime
``` ```
Configuration variables: {% configuration %}
monitored_conditions:
**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. 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
- **device_information.SoftwareVersion**: Software version. required: false
- **device_information.WanIPAddress**: WAN interface IP address. default:
- **device_information.WanIPv6Address**: WAN interface IP address. - device_information.WanIPAddress
- **device_signal.rsrq**: The signal RSRQ value. - device_signal.rsrq
- **device_signal.rsrp**: The signal RSRP value. - device_signal.rsrp
- **device_signal.rssi**: The signal RSSI value. - device_signal.rssi
- **device_signal.sinr**: The signal SINR value. - device_signal.sinr
- **traffic_statistics.CurrentDownloadRate**: Current download rate, bytes/sec. keys:
- **traffic_statistics.CurrentUploadRate**: Current upload rate, bytes/sec. device_information.SoftwareVersion:
- **traffic_statistics.TotalUpload**: Total bytes uploaded since last reset. description: Software version
- **traffic_statistics.TotalDownload**: Total bytes downloaded since last reset. device_information.WanIPAddress:
- **traffic_statistics.TotalConnectTime**: Total time connected since last reset. 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 %}