summaryrefslogtreecommitdiffstats
path: root/xyz/openbmc_project/Sensor/Value.interface.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'xyz/openbmc_project/Sensor/Value.interface.yaml')
-rw-r--r--xyz/openbmc_project/Sensor/Value.interface.yaml15
1 files changed, 15 insertions, 0 deletions
diff --git a/xyz/openbmc_project/Sensor/Value.interface.yaml b/xyz/openbmc_project/Sensor/Value.interface.yaml
index f8c1585..2a060e8 100644
--- a/xyz/openbmc_project/Sensor/Value.interface.yaml
+++ b/xyz/openbmc_project/Sensor/Value.interface.yaml
@@ -7,6 +7,9 @@ description: >
fan_tach
voltage
altitude
+ current
+ power
+ energy
Any service implementing Sensor.Value on one or more objects must
implement org.freedesktop.DBus.ObjectManager on the sensors namespace root.
@@ -26,6 +29,9 @@ properties:
For objects in the fan_tach namespace, Unit must be "RPMS".
For objects in the voltage namespace, Unit must be "Volts".
For objects in the altitude namespace, Unit must be "Meters".
+ For objects in the current namespace, Unit must be "Amperes".
+ For objects in the power namespace, Unit must be "Watts".
+ For objects in the energy namespace, Unit must be "Joules".
- name: Scale
type: int64
description: >
@@ -48,6 +54,15 @@ enumerations:
- name: Meters
description: >
Length as meters.
+ - name: Amperes
+ description: >
+ Electrical charge flow rate as Amperes.
+ - name: Watts
+ description: >
+ Rate of energy transfer as Watts.
+ - name: Joules
+ description: >
+ Energy transfer as Joules.
# vim: tabstop=8 expandtab shiftwidth=4 softtabstop=4
OpenPOWER on IntegriCloud