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 889d403 commit 25c2008
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 25c2008

Please sign in to comment.