Functions | |
| bool | async_setup (HomeAssistant hass, ConfigType config) |
Variables | |
| _LOGGER = logging.getLogger(__name__) | |
| COMMAND_SCHEMA | |
| string | CONF_CONTENT_TYPE = "content_type" |
| CONFIG_SCHEMA | |
| string | DEFAULT_METHOD = "get" |
| int | DEFAULT_TIMEOUT = 10 |
| bool | DEFAULT_VERIFY_SSL = True |
| string | DOMAIN = "rest_command" |
| list | SUPPORT_REST_METHODS = ["get", "patch", "post", "put", "delete"] |
Support for exposing regular REST commands as services.
| bool homeassistant.components.rest_command.async_setup | ( | HomeAssistant | hass, |
| ConfigType | config | ||
| ) |
Set up the REST command component.
Definition at line 71 of file __init__.py.
|
private |
Definition at line 40 of file __init__.py.
| homeassistant.components.rest_command.COMMAND_SCHEMA |
Definition at line 50 of file __init__.py.
| string homeassistant.components.rest_command.CONF_CONTENT_TYPE = "content_type" |
Definition at line 48 of file __init__.py.
| homeassistant.components.rest_command.CONFIG_SCHEMA |
Definition at line 66 of file __init__.py.
| string homeassistant.components.rest_command.DEFAULT_METHOD = "get" |
Definition at line 43 of file __init__.py.
| int homeassistant.components.rest_command.DEFAULT_TIMEOUT = 10 |
Definition at line 42 of file __init__.py.
| bool homeassistant.components.rest_command.DEFAULT_VERIFY_SSL = True |
Definition at line 44 of file __init__.py.
| string homeassistant.components.rest_command.DOMAIN = "rest_command" |
Definition at line 38 of file __init__.py.
| list homeassistant.components.rest_command.SUPPORT_REST_METHODS = ["get", "patch", "post", "put", "delete"] |
Definition at line 46 of file __init__.py.