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

Classes

class  GatewayData
 
class  GreenwaveLight
 

Functions

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

Variables

 _LOGGER = logging.getLogger(__name__)
 
string CONF_VERSION = "version"
 
 MIN_TIME_BETWEEN_UPDATES = timedelta(minutes=1)
 
 PLATFORM_SCHEMA
 

Detailed Description

Support for Greenwave Reality (TCP Connected) lights.

Function Documentation

◆ setup_platform()

None homeassistant.components.greenwave.light.setup_platform ( HomeAssistant  hass,
ConfigType  config,
AddEntitiesCallback  add_entities,
DiscoveryInfoType | None   discovery_info = None 
)
Set up the Greenwave Reality Platform.

Definition at line 37 of file light.py.

Variable Documentation

◆ _LOGGER

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

Definition at line 26 of file light.py.

◆ CONF_VERSION

string homeassistant.components.greenwave.light.CONF_VERSION = "version"

Definition at line 28 of file light.py.

◆ MIN_TIME_BETWEEN_UPDATES

homeassistant.components.greenwave.light.MIN_TIME_BETWEEN_UPDATES = timedelta(minutes=1)

Definition at line 34 of file light.py.

◆ PLATFORM_SCHEMA

homeassistant.components.greenwave.light.PLATFORM_SCHEMA
Initial value:
1 = LIGHT_PLATFORM_SCHEMA.extend(
2  {vol.Required(CONF_HOST): cv.string, vol.Required(CONF_VERSION): cv.positive_int}
3 )

Definition at line 30 of file light.py.