miio.integrations.yeelight.light.spec_helper module

class miio.integrations.yeelight.light.spec_helper.YeelightLampInfo(color_temp: ValidSettingRange, supports_color: bool)[source]

Bases: object

color_temp: ValidSettingRange
supports_color: bool
class miio.integrations.yeelight.light.spec_helper.YeelightModelInfo(model: str, night_light: bool, lamps: Dict[YeelightSubLightType, YeelightLampInfo])[source]

Bases: object

lamps: Dict[YeelightSubLightType, YeelightLampInfo]
model: str
night_light: bool
class miio.integrations.yeelight.light.spec_helper.YeelightSpecHelper[source]

Bases: object

get_model_info(model) YeelightModelInfo[source]
property supported_models
class miio.integrations.yeelight.light.spec_helper.YeelightSubLightType(value)[source]

Bases: IntEnum

An enumeration.

Background = 1
Main = 0