blob: 0c2a220d6123ea5e8f5abbd0e991647369c53197 [file] [log] [blame]
Brad Bishop45387d62016-11-10 21:58:58 -06001description: >
2 Implement to provide critical class sensor thresholds. Objects implementing
3 Sensor.Threshold.Critical must be instantiated in the correct hierarchy within
4 the sensors namespace. The following sensor hierarchies are recognized:
5 temperature
6 fan_tach
7 voltage
8 altitude
Brad Bishop6c4e2e92016-12-28 13:38:31 -05009 current
10 power
11 energy
Brad Bishop45387d62016-11-10 21:58:58 -060012
13 Additionally, any object implementing Sensor.Threshold.Critical must also
14 implement Sensor.Value.
15
16properties:
17 - name: CriticalHigh
James Feist4ec65872018-07-31 11:00:25 -070018 type: double
Brad Bishop45387d62016-11-10 21:58:58 -060019 description: >
20 The upper bound of the critical threshold.
21 - name: CriticalLow
James Feist4ec65872018-07-31 11:00:25 -070022 type: double
Brad Bishop45387d62016-11-10 21:58:58 -060023 description: >
24 The lower bound of the critical threshold.
Brad Bishop6d514352017-01-05 21:33:17 -050025 - name: CriticalAlarmHigh
Brad Bishop45387d62016-11-10 21:58:58 -060026 type: boolean
27 description: >
Brad Bishop6d514352017-01-05 21:33:17 -050028 True if the sensor value has exceeded the defined bound.
29 False if the sensor value has not exceeded the defined bound.
Brad Bishop45387d62016-11-10 21:58:58 -060030
Brad Bishop6d514352017-01-05 21:33:17 -050031 CriticalAlarmHigh may be set to False to clear an alarm condition.
32 The behavior of setting CriticalAlarmHigh to True is undefined.
33 - name: CriticalAlarmLow
34 type: boolean
35 description: >
36 True if the sensor value has exceeded the defined bound.
37 False if the sensor value has not exceeded the defined bound.
38
39 CriticalAlarmLow may be set to False to clear an alarm condition.
40 The behavior of setting CriticalAlarmLow to True is undefined.