Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.homeworks Namespace Reference

Namespaces

 binary_sensor
 
 button
 
 config_flow
 
 const
 
 entity
 
 light
 
 util
 

Classes

class  HomeworksData
 
class  HomeworksKeypad
 

Functions

None async_send_command (HomeAssistant hass, Mapping[str, Any] data)
 
bool async_setup (HomeAssistant hass, ConfigType config)
 
bool async_setup_entry (HomeAssistant hass, ConfigEntry entry)
 
None async_setup_services (HomeAssistant hass)
 
bool async_unload_entry (HomeAssistant hass, ConfigEntry entry)
 
None update_listener (HomeAssistant hass, ConfigEntry entry)
 

Variables

 _LOGGER = logging.getLogger(__name__)
 
string CONF_COMMAND = "command"
 
 CONFIG_SCHEMA = cv.config_entry_only_config_schema(DOMAIN)
 
string EVENT_BUTTON_PRESS = "homeworks_button_press"
 
string EVENT_BUTTON_RELEASE = "homeworks_button_release"
 
float KEYPAD_LEDSTATE_POLL_COOLDOWN = 1.0
 
 SERVICE_SEND_COMMAND_SCHEMA
 

Detailed Description

Support for Lutron Homeworks Series 4 and 8 systems.

Function Documentation

◆ async_send_command()

None homeassistant.components.homeworks.async_send_command ( HomeAssistant  hass,
Mapping[str, Any]  data 
)
Send command to a controller.

Definition at line 87 of file __init__.py.

◆ async_setup()

bool homeassistant.components.homeworks.async_setup ( HomeAssistant  hass,
ConfigType  config 
)
Start Homeworks controller.

Definition at line 128 of file __init__.py.

◆ async_setup_entry()

bool homeassistant.components.homeworks.async_setup_entry ( HomeAssistant  hass,
ConfigEntry  entry 
)
Set up Homeworks from a config entry.

Definition at line 135 of file __init__.py.

◆ async_setup_services()

None homeassistant.components.homeworks.async_setup_services ( HomeAssistant  hass)
Set up services for Lutron Homeworks Series 4 and 8 integration.

Definition at line 72 of file __init__.py.

◆ async_unload_entry()

bool homeassistant.components.homeworks.async_unload_entry ( HomeAssistant  hass,
ConfigEntry  entry 
)
Unload a config entry.

Definition at line 187 of file __init__.py.

◆ update_listener()

None homeassistant.components.homeworks.update_listener ( HomeAssistant  hass,
ConfigEntry  entry 
)
Handle options update.

Definition at line 199 of file __init__.py.

Variable Documentation

◆ _LOGGER

homeassistant.components.homeworks._LOGGER = logging.getLogger(__name__)
private

Definition at line 41 of file __init__.py.

◆ CONF_COMMAND

string homeassistant.components.homeworks.CONF_COMMAND = "command"

Definition at line 45 of file __init__.py.

◆ CONFIG_SCHEMA

homeassistant.components.homeworks.CONFIG_SCHEMA = cv.config_entry_only_config_schema(DOMAIN)

Definition at line 52 of file __init__.py.

◆ EVENT_BUTTON_PRESS

string homeassistant.components.homeworks.EVENT_BUTTON_PRESS = "homeworks_button_press"

Definition at line 47 of file __init__.py.

◆ EVENT_BUTTON_RELEASE

string homeassistant.components.homeworks.EVENT_BUTTON_RELEASE = "homeworks_button_release"

Definition at line 48 of file __init__.py.

◆ KEYPAD_LEDSTATE_POLL_COOLDOWN

float homeassistant.components.homeworks.KEYPAD_LEDSTATE_POLL_COOLDOWN = 1.0

Definition at line 50 of file __init__.py.

◆ SERVICE_SEND_COMMAND_SCHEMA

homeassistant.components.homeworks.SERVICE_SEND_COMMAND_SCHEMA
Initial value:
1 = vol.Schema(
2  {
3  vol.Required(CONF_CONTROLLER_ID): str,
4  vol.Required(CONF_COMMAND): vol.All(cv.ensure_list, [str]),
5  }
6 )

Definition at line 54 of file __init__.py.