blob: bf6c4fd478d09add620a16893b7cf00d5cf3c8dd [file] [log] [blame]
Matt Spinler45ed88d2020-11-20 11:33:16 -06001description: >
2
3 Implement to provide hard shutdown class sensor thresholds. Objects
4 implementing Sensor.Threshold.HardShutdown must be instantiated in the
5 correct hierarchy within the sensors namespace. The following sensor
6 hierarchies are recognized:
7 temperature
8 fan_tach
9 voltage
10 altitude
11 current
12 power
13 energy
14
15
16 Additionally, any object implementing Sensor.Threshold.HardShutdown must
17 also implement Sensor.Value.
18
19properties:
20 - name: HardShutdownHigh
21 type: double
22 default: NaN
23 description: >
24 The upper bound of the shutdown threshold. A value of 'NaN' is used
25 to indicate there is no threshold of this type.
26 - name: HardShutdownLow
27 type: double
28 default: NaN
29 description: >
30 The lower bound of the shutdown threshold. A value of 'NaN' is used
31 to indicate there is no threshold of this type.
32 - name: HardShutdownAlarmHigh
33 type: boolean
34 description: >
35 True if the sensor value has exceeded the defined bound.
36 False if the sensor value has not exceeded the defined bound.
37
38 HardShutdownAlarmHigh may be set to False to clear an alarm condition.
39 The behavior of setting HardShutdownAlarmHigh to True is undefined.
40 - name: HardShutdownAlarmLow
41 type: boolean
42 description: >
43 True if the sensor value has exceeded the defined bound.
44 False if the sensor value has not exceeded the defined bound.
45
46 HardShutdownAlarmLow may be set to False to clear an alarm condition.
47 The behavior of setting HardShutdownAlarmLow to True is undefined.