bool supports_direction() const
Return if this fan supports changing direction.
bool supports_oscillation() const
Return if this fan supports oscillation.
int supported_speed_count() const
Return how many speed levels the fan has.
void set_oscillation(bool oscillation)
Set whether this fan supports oscillation.
void set_speed(bool speed)
Set whether this fan supports speed levels.
void set_direction(bool direction)
Set whether this fan supports changing direction.
FanTraits(bool oscillation, bool speed, bool direction, int speed_count)
void set_supported_speed_count(int speed_count)
Set how many speed levels this fan has.
bool supports_speed() const
Return if this fan supports speed modes.