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

Classes

class  HyperionLight
 

Functions

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

Variables

 _LOGGER = logging.getLogger(__name__)
 
string CONF_DEFAULT_COLOR = "default_color"
 
string CONF_EFFECT_LIST = "effect_list"
 
string CONF_HDMI_PRIORITY = "hdmi_priority"
 
int DEFAULT_BRIGHTNESS = 255
 
list DEFAULT_COLOR = [255, 255, 255]
 
string DEFAULT_EFFECT = KEY_EFFECT_SOLID
 
int DEFAULT_HDMI_PRIORITY = 880
 
string DEFAULT_NAME = "Hyperion"
 
 DEFAULT_PORT = const.DEFAULT_PORT_JSON
 
string ICON_EFFECT = "mdi:lava-lamp"
 
string ICON_LIGHTBULB = "mdi:lightbulb"
 
string KEY_EFFECT_SOLID = "Solid"
 

Detailed Description

Support for Hyperion-NG remotes.

Function Documentation

◆ async_setup_entry()

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

Definition at line 76 of file light.py.

Variable Documentation

◆ _LOGGER

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

Definition at line 49 of file light.py.

◆ CONF_DEFAULT_COLOR

string homeassistant.components.hyperion.light.CONF_DEFAULT_COLOR = "default_color"

Definition at line 51 of file light.py.

◆ CONF_EFFECT_LIST

string homeassistant.components.hyperion.light.CONF_EFFECT_LIST = "effect_list"

Definition at line 53 of file light.py.

◆ CONF_HDMI_PRIORITY

string homeassistant.components.hyperion.light.CONF_HDMI_PRIORITY = "hdmi_priority"

Definition at line 52 of file light.py.

◆ DEFAULT_BRIGHTNESS

int homeassistant.components.hyperion.light.DEFAULT_BRIGHTNESS = 255

Definition at line 65 of file light.py.

◆ DEFAULT_COLOR

list homeassistant.components.hyperion.light.DEFAULT_COLOR = [255, 255, 255]

Definition at line 64 of file light.py.

◆ DEFAULT_EFFECT

string homeassistant.components.hyperion.light.DEFAULT_EFFECT = KEY_EFFECT_SOLID

Definition at line 66 of file light.py.

◆ DEFAULT_HDMI_PRIORITY

int homeassistant.components.hyperion.light.DEFAULT_HDMI_PRIORITY = 880

Definition at line 69 of file light.py.

◆ DEFAULT_NAME

string homeassistant.components.hyperion.light.DEFAULT_NAME = "Hyperion"

Definition at line 67 of file light.py.

◆ DEFAULT_PORT

homeassistant.components.hyperion.light.DEFAULT_PORT = const.DEFAULT_PORT_JSON

Definition at line 68 of file light.py.

◆ ICON_EFFECT

string homeassistant.components.hyperion.light.ICON_EFFECT = "mdi:lava-lamp"

Definition at line 73 of file light.py.

◆ ICON_LIGHTBULB

string homeassistant.components.hyperion.light.ICON_LIGHTBULB = "mdi:lightbulb"

Definition at line 72 of file light.py.

◆ KEY_EFFECT_SOLID

string homeassistant.components.hyperion.light.KEY_EFFECT_SOLID = "Solid"

Definition at line 62 of file light.py.