mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-15 21:36:52 +00:00
Add invert to netdata documentation (#8883)
* Add invert to netdata documentation Add invert to netdata documentation * Move network interface sample
This commit is contained in:
parent
bcc9d705ee
commit
b12e93b4c3
@ -98,5 +98,30 @@ resources:
|
||||
required: false
|
||||
type: icon
|
||||
default: "mdi:desktop-classic"
|
||||
invert:
|
||||
description: Invert the sensor values.
|
||||
required: false
|
||||
type: boolean
|
||||
default: false
|
||||
{% endconfiguration %}
|
||||
|
||||
|
||||
## {% linkable_title Full examples %}
|
||||
|
||||
### {% linkable_title Network interface details %}
|
||||
|
||||
Netdata returns all bandwidth related sensors as positive/negative numbers related to the interface.
|
||||
|
||||
```yaml
|
||||
# Example configuration.yaml entry
|
||||
sensor:
|
||||
- platform: netdata
|
||||
resources:
|
||||
network_downstream:
|
||||
data_group: net.eth1
|
||||
element: received
|
||||
network_upstream:
|
||||
data_group: net.eth1
|
||||
element: sent
|
||||
invert: true
|
||||
```
|
||||
|
Loading…
x
Reference in New Issue
Block a user