blob: 343f6482b025eca762c42d12d8ecea8bc459e561 [file] [log] [blame]
description: >
Implement to provide performance loss class sensor thresholds. Objects
implementing Sensor.Threshold.PerformanceLoss must be instantiated in the correct
hierarchy within the sensors namespace. The following sensor hierarchies
are recognized:
temperature
fan_tach
voltage
altitude
current
power
energy
Additionally, any object implementing Sensor.Threshold.PerformanceLoss must also
implement Sensor.Value.
properties:
- name: PerformanceLossHigh
type: double
default: NaN
description: >
The upper bound of the warning threshold. A value of 'NaN' is used
to indicate there is no threshold of this type.
- name: PerformanceLossLow
type: double
default: NaN
description: >
The lower bound of the warning threshold. A value of 'NaN' is used
to indicate there is no threshold of this type.
- name: PerformanceLossAlarmHigh
type: boolean
description: >
True if the sensor value has exceeded the defined bound.
False if the sensor value has not exceeded the defined bound.
PerformanceLossAlarmHigh may be set to False to clear an alarm condition.
The behavior of setting PerformanceLossAlarmHigh to True is undefined.
- name: PerformanceLossAlarmLow
type: boolean
description: >
True if the sensor value has exceeded the defined bound.
False if the sensor value has not exceeded the defined bound.
PerformanceLossAlarmLow may be set to False to clear an alarm condition.
The behavior of setting PerformanceLossAlarmLow to True is undefined.