Functions | |
| bool | async_setup (HomeAssistant hass, ConfigType config) |
| bool | async_setup_entry (HomeAssistant hass, ConfigEntry config_entry) |
| bool | async_unload_entry (HomeAssistant hass, ConfigEntry config_entry) |
| None | finish_setup (HomeAssistant hass, ConfigType config) |
Variables | |
| list | COMPONENTS_WITH_CONFIG_ENTRY_DEMO_PLATFORM |
| list | COMPONENTS_WITH_DEMO_PLATFORM |
| CONFIG_SCHEMA = cv.empty_config_schema(DOMAIN) | |
| string | DOMAIN = "demo" |
Set up the demo environment that mimics interaction with devices.
| bool homeassistant.components.demo.async_setup | ( | HomeAssistant | hass, |
| ConfigType | config | ||
| ) |
Set up the demo environment.
Definition at line 65 of file __init__.py.
| bool homeassistant.components.demo.async_setup_entry | ( | HomeAssistant | hass, |
| ConfigEntry | config_entry | ||
| ) |
Set the config entry up.
Definition at line 186 of file __init__.py.
| bool homeassistant.components.demo.async_unload_entry | ( | HomeAssistant | hass, |
| ConfigEntry | config_entry | ||
| ) |
Unload a config entry.
Definition at line 195 of file __init__.py.
| None homeassistant.components.demo.finish_setup | ( | HomeAssistant | hass, |
| ConfigType | config | ||
| ) |
Finish set up once demo platforms are set up.
Definition at line 203 of file __init__.py.
| list homeassistant.components.demo.COMPONENTS_WITH_CONFIG_ENTRY_DEMO_PLATFORM |
Definition at line 24 of file __init__.py.
| list homeassistant.components.demo.COMPONENTS_WITH_DEMO_PLATFORM |
Definition at line 56 of file __init__.py.
| homeassistant.components.demo.CONFIG_SCHEMA = cv.empty_config_schema(DOMAIN) |
Definition at line 62 of file __init__.py.
| string homeassistant.components.demo.DOMAIN = "demo" |
Definition at line 22 of file __init__.py.