Make asuswrt sensor optional (#8032)

* Only sensor setup is changed

* Adding sensorrs config to component
This commit is contained in:
kennedyshead 2019-01-14 23:14:24 +01:00 committed by Franck Nijhof
parent aedc489978
commit 3a202ac371
2 changed files with 15 additions and 3 deletions

View File

@ -63,6 +63,20 @@ require_ip:
required: false
type: boolean
default: true
sensors:
description: List of enabled sensors
required: false
type: list
default: all (`upload`, `download`, `upload_speed`, `download_speed`)
keys:
"upload":
description: TX upload sensor
"download":
description: RX download sensor
"download_speed":
description: download mbit/s sensor
"upload_speed":
description: upload mbit/s sensor
{% endconfiguration %}
<p class='note warning'>

View File

@ -13,8 +13,6 @@ ha_iot_class: "Local Polling"
ha_release: 0.83
---
The `asuswrt` platform allows you to get data from your [ASUSWRT](http://event.asus.com/2013/nw/ASUSWRT/) sensors from within Home Assistant.
The sensor platform will be automatically configured if Asuswrt component is configured.
The `asuswrt` sensor platform allows you to get upload and download data from your [ASUSWRT](http://event.asus.com/2013/nw/ASUSWRT/) within Home Assistant.
For more configuration information see the [Asuswrt component](/components/asuswrt/) documentation.