Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.lcn.services.Relays Class Reference
Inheritance diagram for homeassistant.components.lcn.services.Relays:
[legend]
Collaboration diagram for homeassistant.components.lcn.services.Relays:
[legend]

Public Member Functions

None async_call_service (self, ServiceCall service)
 
- Public Member Functions inherited from homeassistant.components.lcn.services.LcnServiceCall
None __init__ (self, HomeAssistant hass)
 
DeviceConnectionType get_device_connection (self, ServiceCall service)
 

Static Public Attributes

 schema = LcnServiceCall.schema.extend({vol.Required(CONF_STATE): is_states_string})
 
- Static Public Attributes inherited from homeassistant.components.lcn.services.LcnServiceCall
 schema = vol.Schema({vol.Required(CONF_ADDRESS): is_address})
 

Additional Inherited Members

- Public Attributes inherited from homeassistant.components.lcn.services.LcnServiceCall
 hass
 

Detailed Description

Set the relays status.

Definition at line 152 of file services.py.

Member Function Documentation

◆ async_call_service()

None homeassistant.components.lcn.services.Relays.async_call_service (   self,
ServiceCall  service 
)
Execute service call.

Reimplemented from homeassistant.components.lcn.services.LcnServiceCall.

Definition at line 157 of file services.py.

Member Data Documentation

◆ schema

homeassistant.components.lcn.services.Relays.schema = LcnServiceCall.schema.extend({vol.Required(CONF_STATE): is_states_string})
static

Definition at line 155 of file services.py.


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