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

Classes

class  NikoHomeControlData
 
class  NikoHomeControlLight
 

Functions

None async_setup_platform (HomeAssistant hass, ConfigType config, AddEntitiesCallback async_add_entities, DiscoveryInfoType|None discovery_info=None)
 

Variables

 _LOGGER = logging.getLogger(__name__)
 
 MIN_TIME_BETWEEN_UPDATES = timedelta(seconds=1)
 
 PLATFORM_SCHEMA = LIGHT_PLATFORM_SCHEMA.extend({vol.Required(CONF_HOST): cv.string})
 
 SCAN_INTERVAL = timedelta(seconds=30)
 

Detailed Description

Support for Niko Home Control.

Function Documentation

◆ async_setup_platform()

None homeassistant.components.niko_home_control.light.async_setup_platform ( HomeAssistant  hass,
ConfigType  config,
AddEntitiesCallback  async_add_entities,
DiscoveryInfoType | None   discovery_info = None 
)
Set up the Niko Home Control light platform.

Definition at line 34 of file light.py.

Variable Documentation

◆ _LOGGER

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

Definition at line 27 of file light.py.

◆ MIN_TIME_BETWEEN_UPDATES

homeassistant.components.niko_home_control.light.MIN_TIME_BETWEEN_UPDATES = timedelta(seconds=1)

Definition at line 28 of file light.py.

◆ PLATFORM_SCHEMA

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

Definition at line 31 of file light.py.

◆ SCAN_INTERVAL

homeassistant.components.niko_home_control.light.SCAN_INTERVAL = timedelta(seconds=30)

Definition at line 29 of file light.py.