Namespaces | |
| reproduce_state | |
Classes | |
| class | InputBoolean |
| class | InputBooleanStorageCollection |
Functions | |
| bool | async_setup (HomeAssistant hass, ConfigType config) |
| bool | is_on (HomeAssistant hass, str entity_id) |
Variables | |
| _LOGGER = logging.getLogger(__name__) | |
| string | CONF_INITIAL = "initial" |
| CONFIG_SCHEMA | |
| string | DOMAIN = "input_boolean" |
| RELOAD_SERVICE_SCHEMA = vol.Schema({}) | |
| string | STORAGE_KEY = DOMAIN |
| int | STORAGE_VERSION = 1 |
| VolDictType | |
Support to keep track of user controlled booleans for within automation.
| bool homeassistant.components.input_boolean.async_setup | ( | HomeAssistant | hass, |
| ConfigType | config | ||
| ) |
Set up an input boolean.
Definition at line 91 of file __init__.py.
| bool homeassistant.components.input_boolean.is_on | ( | HomeAssistant | hass, |
| str | entity_id | ||
| ) |
Test if input_boolean is True.
Definition at line 86 of file __init__.py.
|
private |
Definition at line 34 of file __init__.py.
| string homeassistant.components.input_boolean.CONF_INITIAL = "initial" |
Definition at line 36 of file __init__.py.
| homeassistant.components.input_boolean.CONFIG_SCHEMA |
Definition at line 44 of file __init__.py.
| string homeassistant.components.input_boolean.DOMAIN = "input_boolean" |
Definition at line 32 of file __init__.py.
| homeassistant.components.input_boolean.RELOAD_SERVICE_SCHEMA = vol.Schema({}) |
Definition at line 60 of file __init__.py.
| string homeassistant.components.input_boolean.STORAGE_KEY = DOMAIN |
Definition at line 61 of file __init__.py.
| int homeassistant.components.input_boolean.STORAGE_VERSION = 1 |
Definition at line 62 of file __init__.py.
| homeassistant.components.input_boolean.VolDictType |
Definition at line 38 of file __init__.py.