Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.vallox.ValloxServiceHandler Class Reference

Public Member Functions

None __init__ (self, Vallox client, ValloxDataUpdateCoordinator coordinator)
 
None async_handle (self, ServiceCall call)
 
bool async_set_profile (self, str profile, int|None duration=None)
 
bool async_set_profile_fan_speed_away (self, int fan_speed=DEFAULT_FAN_SPEED_AWAY)
 
bool async_set_profile_fan_speed_boost (self, int fan_speed=DEFAULT_FAN_SPEED_BOOST)
 
bool async_set_profile_fan_speed_home (self, int fan_speed=DEFAULT_FAN_SPEED_HOME)
 

Private Attributes

 _client
 
 _coordinator
 

Detailed Description

Services implementation.

Definition at line 152 of file __init__.py.

Constructor & Destructor Documentation

◆ __init__()

None homeassistant.components.vallox.ValloxServiceHandler.__init__ (   self,
Vallox  client,
ValloxDataUpdateCoordinator   coordinator 
)
Initialize the proxy.

Definition at line 155 of file __init__.py.

Member Function Documentation

◆ async_handle()

None homeassistant.components.vallox.ValloxServiceHandler.async_handle (   self,
ServiceCall  call 
)
Dispatch a service call.

Definition at line 217 of file __init__.py.

◆ async_set_profile()

bool homeassistant.components.vallox.ValloxServiceHandler.async_set_profile (   self,
str  profile,
int | None   duration = None 
)
Activate profile for given duration.

Definition at line 201 of file __init__.py.

◆ async_set_profile_fan_speed_away()

bool homeassistant.components.vallox.ValloxServiceHandler.async_set_profile_fan_speed_away (   self,
int   fan_speed = DEFAULT_FAN_SPEED_AWAY 
)
Set the fan speed in percent for the Away profile.

Definition at line 175 of file __init__.py.

◆ async_set_profile_fan_speed_boost()

bool homeassistant.components.vallox.ValloxServiceHandler.async_set_profile_fan_speed_boost (   self,
int   fan_speed = DEFAULT_FAN_SPEED_BOOST 
)
Set the fan speed in percent for the Boost profile.

Definition at line 188 of file __init__.py.

◆ async_set_profile_fan_speed_home()

bool homeassistant.components.vallox.ValloxServiceHandler.async_set_profile_fan_speed_home (   self,
int   fan_speed = DEFAULT_FAN_SPEED_HOME 
)
Set the fan speed in percent for the Home profile.

Definition at line 162 of file __init__.py.

Member Data Documentation

◆ _client

homeassistant.components.vallox.ValloxServiceHandler._client
private

Definition at line 159 of file __init__.py.

◆ _coordinator

homeassistant.components.vallox.ValloxServiceHandler._coordinator
private

Definition at line 160 of file __init__.py.


The documentation for this class was generated from the following file: