diff options
-rw-r--r-- | obmc/sensors.py | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/obmc/sensors.py b/obmc/sensors.py index 49a4797..dba1134 100644 --- a/obmc/sensors.py +++ b/obmc/sensors.py @@ -50,14 +50,3 @@ class VirtualSensor(SensorValue): CONTROL_IFACE = 'org.openbmc.Control' -class PowerSupplyDeratingSensor(VirtualSensor): - def __init__(self, bus, name): - VirtualSensor.__init__(self, bus, name) - super(PowerSupplyDeratingSensor, self).setValue(90) - - # override setValue method - @dbus.service.method( - SensorValue.IFACE_NAME, in_signature='v', out_signature='') - def setValue(self, value): - print("Setting Power Supply Derating is not allowed") - |