|
| | schema |
| |
| | schema = vol.Schema({vol.Required(CONF_ADDRESS): is_address}) |
| |
Toggle output port.
Definition at line 129 of file services.py.
◆ async_call_service()
| None homeassistant.components.lcn.services.OutputToggle.async_call_service |
( |
|
self, |
|
|
ServiceCall |
service |
|
) |
| |
◆ schema
| homeassistant.components.lcn.services.OutputToggle.schema |
|
static |
Initial value:= LcnServiceCall.schema.extend(
{
vol.Required(CONF_OUTPUT): vol.All(vol.Upper, vol.In(OUTPUT_PORTS)),
vol.Optional(CONF_TRANSITION, default=0): vol.All(
vol.Coerce(float), vol.Range(min=0.0, max=486.0)
),
}
)
Definition at line 132 of file services.py.
The documentation for this class was generated from the following file: