Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.water_heater.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)
 

Variables

 _LOGGER = logging.getLogger(__name__)
 
dictionary VALID_STATES
 

Detailed Description

Reproduce an Water heater state.

Function Documentation

◆ _async_reproduce_state()

None homeassistant.components.water_heater.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 49 of file reproduce_state.py.

◆ async_reproduce_states()

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

Definition at line 124 of file reproduce_state.py.

Variable Documentation

◆ _LOGGER

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

Definition at line 35 of file reproduce_state.py.

◆ VALID_STATES

dictionary homeassistant.components.water_heater.reproduce_state.VALID_STATES
Initial value:
1 = {
2  STATE_ECO,
3  STATE_ELECTRIC,
4  STATE_GAS,
5  STATE_HEAT_PUMP,
6  STATE_HIGH_DEMAND,
7  STATE_OFF,
8  STATE_ON,
9  STATE_PERFORMANCE,
10 }

Definition at line 37 of file reproduce_state.py.