reachy_sdk.fan
¶
This module define the Fan class and method to get/set their state.
- class reachy_sdk.fan.Fan(name, uid, stub)¶
The Fan class and get/set state methods.
The Fan class is used to store the up-to-date state of the fan. You can get its current state (check if they were automatically turned on by a temperature limit detection). You can also turn them on/off whenever you want.
- property is_on¶
Check if the fan is on.
- property name¶
Get the name of the fan.
- off()¶
Turn the fan off.
- on()¶
Turn the fan on.