Skip to content

Commit b12e93b

Browse files
michaelarnautsfabaff
authored andcommitted
Add invert to netdata documentation (home-assistant#8883)
* Add invert to netdata documentation Add invert to netdata documentation * Move network interface sample
1 parent bcc9d70 commit b12e93b

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

source/_components/sensor.netdata.markdown

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,5 +98,30 @@ resources:
9898
required: false
9999
type: icon
100100
default: "mdi:desktop-classic"
101+
invert:
102+
description: Invert the sensor values.
103+
required: false
104+
type: boolean
105+
default: false
101106
{% endconfiguration %}
102107
108+
109+
## {% linkable_title Full examples %}
110+
111+
### {% linkable_title Network interface details %}
112+
113+
Netdata returns all bandwidth related sensors as positive/negative numbers related to the interface.
114+
115+
```yaml
116+
# Example configuration.yaml entry
117+
sensor:
118+
- platform: netdata
119+
resources:
120+
network_downstream:
121+
data_group: net.eth1
122+
element: received
123+
network_upstream:
124+
data_group: net.eth1
125+
element: sent
126+
invert: true
127+
```

0 commit comments

Comments
 (0)