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

Classes

class  ModernFormsLightEntity
 

Functions

None async_setup_entry (HomeAssistant hass, ConfigEntry config_entry, AddEntitiesCallback async_add_entities)
 

Variables

tuple BRIGHTNESS_RANGE = (1, 255)
 

Detailed Description

Support for Modern Forms Fan lights.

Function Documentation

◆ async_setup_entry()

None homeassistant.components.modern_forms.light.async_setup_entry ( HomeAssistant  hass,
ConfigEntry  config_entry,
AddEntitiesCallback  async_add_entities 
)
Set up a Modern Forms platform from config entry.

Definition at line 36 of file light.py.

Variable Documentation

◆ BRIGHTNESS_RANGE

tuple homeassistant.components.modern_forms.light.BRIGHTNESS_RANGE = (1, 255)

Definition at line 33 of file light.py.