Classes | |
| class | AddEntitiesCallback |
| class | EntityPlatform |
| class | EntityPlatformModule |
Functions | |
| EntityPlatform | async_get_current_platform () |
| list[EntityPlatform] | async_get_platforms (HomeAssistant hass, str integration_name) |
Variables | |
| _LOGGER = getLogger(__name__) | |
| int | PLATFORM_NOT_READY_BASE_WAIT_TIME = 30 |
| int | PLATFORM_NOT_READY_RETRIES = 10 |
| int | SLOW_ADD_ENTITY_MAX_WAIT = 15 |
| int | SLOW_ADD_MIN_TIMEOUT = 500 |
| int | SLOW_SETUP_MAX_WAIT = 60 |
| int | SLOW_SETUP_WARNING = 10 |
Class to manage the entities for a single platform.
| EntityPlatform homeassistant.helpers.entity_platform.async_get_current_platform | ( | ) |
Get the current platform from context.
Definition at line 1074 of file entity_platform.py.
| list[EntityPlatform] homeassistant.helpers.entity_platform.async_get_platforms | ( | HomeAssistant | hass, |
| str | integration_name | ||
| ) |
Find existing platforms.
Definition at line 1082 of file entity_platform.py.
|
private |
Definition at line 71 of file entity_platform.py.
| int homeassistant.helpers.entity_platform.PLATFORM_NOT_READY_BASE_WAIT_TIME = 30 |
Definition at line 69 of file entity_platform.py.
| int homeassistant.helpers.entity_platform.PLATFORM_NOT_READY_RETRIES = 10 |
Definition at line 61 of file entity_platform.py.
| int homeassistant.helpers.entity_platform.SLOW_ADD_ENTITY_MAX_WAIT = 15 |
Definition at line 58 of file entity_platform.py.
| int homeassistant.helpers.entity_platform.SLOW_ADD_MIN_TIMEOUT = 500 |
Definition at line 59 of file entity_platform.py.
| int homeassistant.helpers.entity_platform.SLOW_SETUP_MAX_WAIT = 60 |
Definition at line 57 of file entity_platform.py.
| int homeassistant.helpers.entity_platform.SLOW_SETUP_WARNING = 10 |
Definition at line 56 of file entity_platform.py.