Classes | |
| class | SensorTrend |
Functions | |
| dict[str, Any] | _validate_min_max (dict[str, Any] data) |
| None | async_setup_entry (HomeAssistant hass, ConfigEntry entry, AddEntitiesCallback async_add_entities) |
| None | async_setup_platform (HomeAssistant hass, ConfigType config, AddEntitiesCallback async_add_entities, DiscoveryInfoType|None discovery_info=None) |
Variables | |
| _LOGGER = logging.getLogger(__name__) | |
| PLATFORM_SCHEMA | |
| SENSOR_SCHEMA | |
A sensor that monitors trends in other components.
|
private |
Definition at line 68 of file binary_sensor.py.
| None homeassistant.components.trend.binary_sensor.async_setup_entry | ( | HomeAssistant | hass, |
| ConfigEntry | entry, | ||
| AddEntitiesCallback | async_add_entities | ||
| ) |
Set up trend sensor from config entry.
Definition at line 131 of file binary_sensor.py.
| None homeassistant.components.trend.binary_sensor.async_setup_platform | ( | HomeAssistant | hass, |
| ConfigType | config, | ||
| AddEntitiesCallback | async_add_entities, | ||
| DiscoveryInfoType | None | discovery_info = None |
||
| ) |
Set up the trend sensors.
Definition at line 100 of file binary_sensor.py.
|
private |
Definition at line 65 of file binary_sensor.py.
| homeassistant.components.trend.binary_sensor.PLATFORM_SCHEMA |
Definition at line 95 of file binary_sensor.py.
| homeassistant.components.trend.binary_sensor.SENSOR_SCHEMA |
Definition at line 78 of file binary_sensor.py.