miio.fan_common module

exception miio.fan_common.FanException[source]

Bases: DeviceException

with_traceback()

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

args
class miio.fan_common.LedBrightness(value)[source]

Bases: Enum

An enumeration.

Bright = 0
Dim = 1
Off = 2
class miio.fan_common.MoveDirection(value)[source]

Bases: Enum

An enumeration.

Left = 'left'
Right = 'right'
class miio.fan_common.OperationMode(value)[source]

Bases: Enum

An enumeration.

Nature = 'nature'
Normal = 'normal'