Functions | |
| condition.ConditionCheckerType | async_condition_from_config (HomeAssistant hass, ConfigType config) |
| list[dict[str, str]] | async_get_conditions (HomeAssistant hass, str device_id) |
Variables | |
| CONDITION_SCHEMA | |
| dictionary | CONDITION_TYPES = {"is_home", "is_not_home"} |
Provides device automations for Device tracker.
| condition.ConditionCheckerType homeassistant.components.device_tracker.device_condition.async_condition_from_config | ( | HomeAssistant | hass, |
| ConfigType | config | ||
| ) |
Create a function to test a device condition.
Definition at line 63 of file device_condition.py.
| list[dict[str, str]] homeassistant.components.device_tracker.device_condition.async_get_conditions | ( | HomeAssistant | hass, |
| str | device_id | ||
| ) |
List device conditions for Device tracker devices.
Definition at line 37 of file device_condition.py.
| homeassistant.components.device_tracker.device_condition.CONDITION_SCHEMA |
Definition at line 29 of file device_condition.py.
| dictionary homeassistant.components.device_tracker.device_condition.CONDITION_TYPES = {"is_home", "is_not_home"} |
Definition at line 27 of file device_condition.py.