Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.zwave_js.device_automation_helpers Namespace Reference

Functions

bool async_bypass_dynamic_config_validation (HomeAssistant hass, str device_id)
 
str generate_config_parameter_subtype (ConfigurationValue config_value)
 

Variables

string CONF_SUBTYPE = "subtype"
 
string CONF_VALUE_ID = "value_id"
 
list NODE_STATUSES = ["asleep", "awake", "dead", "alive"]
 
string VALUE_ID_REGEX = r"([0-9]+-[0-9]+-[0-9]+-).+"
 

Detailed Description

Provides helpers for Z-Wave JS device automations.

Function Documentation

◆ async_bypass_dynamic_config_validation()

bool homeassistant.components.zwave_js.device_automation_helpers.async_bypass_dynamic_config_validation ( HomeAssistant  hass,
str  device_id 
)
Return whether device's config entries are not loaded.

Definition at line 40 of file device_automation_helpers.py.

◆ generate_config_parameter_subtype()

str homeassistant.components.zwave_js.device_automation_helpers.generate_config_parameter_subtype ( ConfigurationValue  config_value)
Generate the config parameter name used in a device automation subtype.

Definition at line 22 of file device_automation_helpers.py.

Variable Documentation

◆ CONF_SUBTYPE

string homeassistant.components.zwave_js.device_automation_helpers.CONF_SUBTYPE = "subtype"

Definition at line 16 of file device_automation_helpers.py.

◆ CONF_VALUE_ID

string homeassistant.components.zwave_js.device_automation_helpers.CONF_VALUE_ID = "value_id"

Definition at line 17 of file device_automation_helpers.py.

◆ NODE_STATUSES

list homeassistant.components.zwave_js.device_automation_helpers.NODE_STATUSES = ["asleep", "awake", "dead", "alive"]

Definition at line 14 of file device_automation_helpers.py.

◆ VALUE_ID_REGEX

string homeassistant.components.zwave_js.device_automation_helpers.VALUE_ID_REGEX = r"([0-9]+-[0-9]+-[0-9]+-).+"

Definition at line 19 of file device_automation_helpers.py.