Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.input_select.reproduce_state Namespace Reference

Functions

None _async_reproduce_state (HomeAssistant hass, State state, *Context|None context=None, dict[str, Any]|None reproduce_options=None)
 
None async_reproduce_states (HomeAssistant hass, Iterable[State] states, *Context|None context=None, dict[str, Any]|None reproduce_options=None)
 
bool check_attr_equal (Mapping attr1, Mapping attr2, str attr_str)
 

Variables

 _LOGGER = logging.getLogger(__name__)
 
list ATTR_GROUP = [ATTR_OPTION, ATTR_OPTIONS]
 

Detailed Description

Reproduce an Input select state.

Function Documentation

◆ _async_reproduce_state()

None homeassistant.components.input_select.reproduce_state._async_reproduce_state ( HomeAssistant  hass,
State  state,
*Context | None   context = None,
dict[str, Any] | None   reproduce_options = None 
)
private
Reproduce a single state.

Definition at line 20 of file reproduce_state.py.

◆ async_reproduce_states()

None homeassistant.components.input_select.reproduce_state.async_reproduce_states ( HomeAssistant  hass,
Iterable[State states,
*Context | None   context = None,
dict[str, Any] | None   reproduce_options = None 
)
Reproduce Input select states.

Definition at line 64 of file reproduce_state.py.

◆ check_attr_equal()

bool homeassistant.components.input_select.reproduce_state.check_attr_equal ( Mapping  attr1,
Mapping  attr2,
str  attr_str 
)
Return true if the given attributes are equal.

Definition at line 83 of file reproduce_state.py.

Variable Documentation

◆ _LOGGER

homeassistant.components.input_select.reproduce_state._LOGGER = logging.getLogger(__name__)
private

Definition at line 17 of file reproduce_state.py.

◆ ATTR_GROUP

list homeassistant.components.input_select.reproduce_state.ATTR_GROUP = [ATTR_OPTION, ATTR_OPTIONS]

Definition at line 15 of file reproduce_state.py.