Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.yeelightsunflower.light Namespace Reference

Classes

class  SunflowerBulb
 

Functions

None setup_platform (HomeAssistant hass, ConfigType config, AddEntitiesCallback add_entities, DiscoveryInfoType|None discovery_info=None)
 

Variables

 _LOGGER = logging.getLogger(__name__)
 
 PLATFORM_SCHEMA = LIGHT_PLATFORM_SCHEMA.extend({vol.Required(CONF_HOST): cv.string})
 

Detailed Description

Support for Yeelight Sunflower color bulbs (not Yeelight Blue or WiFi).

Function Documentation

◆ setup_platform()

None homeassistant.components.yeelightsunflower.light.setup_platform ( HomeAssistant  hass,
ConfigType  config,
AddEntitiesCallback  add_entities,
DiscoveryInfoType | None   discovery_info = None 
)
Set up the Yeelight Sunflower Light platform.

Definition at line 30 of file light.py.

Variable Documentation

◆ _LOGGER

homeassistant.components.yeelightsunflower.light._LOGGER = logging.getLogger(__name__)
private

Definition at line 25 of file light.py.

◆ PLATFORM_SCHEMA

homeassistant.components.yeelightsunflower.light.PLATFORM_SCHEMA = LIGHT_PLATFORM_SCHEMA.extend({vol.Required(CONF_HOST): cv.string})

Definition at line 27 of file light.py.