Skip to content

Commit

Permalink
Add set_status_led to fan_drawer.py
Browse files Browse the repository at this point in the history
  • Loading branch information
jostar-yang committed Oct 4, 2022
1 parent 86f1bad commit e355126
Showing 1 changed file with 11 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,17 @@ def get_position_in_parent(self):
"""
return (self.fantrayindex+1)

def set_status_led(self, color):
"""
Sets the state of the fan module status LED
Args:
color: A string representing the color with which to set the
fan module status LED
Returns:
bool: True if status LED state is set successfully, False if not
"""
return False #Not supported

def is_replaceable(self):
"""
Indicate whether this device is replaceable.
Expand Down

0 comments on commit e355126

Please sign in to comment.