Classes | |
| class | WithingsActivitySensor |
| class | WithingsActivitySensorEntityDescription |
| class | WithingsDeviceSensor |
| class | WithingsDeviceSensorEntityDescription |
| class | WithingsGoalsSensor |
| class | WithingsGoalsSensorEntityDescription |
| class | WithingsMeasurementSensor |
| class | WithingsMeasurementSensorEntityDescription |
| class | WithingsSensor |
| class | WithingsSleepSensor |
| class | WithingsSleepSensorEntityDescription |
| class | WithingsWorkoutSensor |
| class | WithingsWorkoutSensorEntityDescription |
Functions | |
| None | __init__ (self, _T coordinator, _ED entity_description) |
| None | async_setup_entry (HomeAssistant hass, WithingsConfigEntry entry, AddEntitiesCallback async_add_entities) |
| set[str] | get_current_goals (Goals goals) |
| WithingsMeasurementSensorEntityDescription|None | get_measurement_description (tuple[MeasurementType, MeasurementPosition|None] measurement) |
| WithingsMeasurementSensorEntityDescription|None | get_positional_measurement_description (MeasurementType measurement_type, MeasurementPosition measurement_position) |
Variables | |
| list | _WORKOUT_CATEGORY |
| list | ACTIVITY_SENSORS |
| list | DEVICE_SENSORS |
| entity_description | |
| string | SLEEP_GOAL = "sleep" |
| list | SLEEP_SENSORS |
| string | STEP_GOAL = "steps" |
| string | WEIGHT_GOAL = "weight" |
| list | WORKOUT_SENSORS |
Sensors flow for Withings.
| None homeassistant.components.withings.sensor.__init__ | ( | self, | |
| _T | coordinator, | ||
| _ED | entity_description | ||
| ) |
| None homeassistant.components.withings.sensor.async_setup_entry | ( | HomeAssistant | hass, |
| WithingsConfigEntry | entry, | ||
| AddEntitiesCallback | async_add_entities | ||
| ) |
| set[str] homeassistant.components.withings.sensor.get_current_goals | ( | Goals | goals | ) |
| WithingsMeasurementSensorEntityDescription | None homeassistant.components.withings.sensor.get_measurement_description | ( | tuple[MeasurementType, MeasurementPosition | None] | measurement | ) |
| WithingsMeasurementSensorEntityDescription | None homeassistant.components.withings.sensor.get_positional_measurement_description | ( | MeasurementType | measurement_type, |
| MeasurementPosition | measurement_position | ||
| ) |
|
private |
| list homeassistant.components.withings.sensor.ACTIVITY_SENSORS |
| list homeassistant.components.withings.sensor.DEVICE_SENSORS |
| homeassistant.components.withings.sensor.entity_description |
| string homeassistant.components.withings.sensor.SLEEP_GOAL = "sleep" |
| list homeassistant.components.withings.sensor.SLEEP_SENSORS |
| string homeassistant.components.withings.sensor.STEP_GOAL = "steps" |
| string homeassistant.components.withings.sensor.WEIGHT_GOAL = "weight" |