Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.withings.sensor.WithingsGoalsSensor Class Reference
Inheritance diagram for homeassistant.components.withings.sensor.WithingsGoalsSensor:
[legend]
Collaboration diagram for homeassistant.components.withings.sensor.WithingsGoalsSensor:
[legend]

Public Member Functions

StateType native_value (self)
 
- Public Member Functions inherited from homeassistant.components.withings.coordinator.WithingsGoalsDataUpdateCoordinator
None webhook_subscription_listener (self, bool connected)
 
- Public Member Functions inherited from homeassistant.components.withings.coordinator.WithingsDataUpdateCoordinator
None __init__ (self, HomeAssistant hass, WithingsClient client)
 
None async_webhook_data_updated (self, NotificationCategory notification_category)
 
- Public Member Functions inherited from homeassistant.helpers.update_coordinator.DataUpdateCoordinator
None __init__ (self, HomeAssistant hass, logging.Logger logger, *config_entries.ConfigEntry|None|UndefinedType config_entry=UNDEFINED, str name, timedelta|None update_interval=None, Callable[[], Awaitable[_DataT]]|None update_method=None, Callable[[], Awaitable[None]]|None setup_method=None, Debouncer[Coroutine[Any, Any, None]]|None request_refresh_debouncer=None, bool always_update=True)
 
Callable[[], None] async_add_listener (self, CALLBACK_TYPE update_callback, Any context=None)
 
None async_config_entry_first_refresh (self)
 
Generator[Any] async_contexts (self)
 
None async_refresh (self)
 
None async_register_shutdown (self)
 
None async_request_refresh (self)
 
None async_set_update_error (self, Exception err)
 
None async_set_updated_data (self, _DataT data)
 
None async_shutdown (self)
 
None async_update_listeners (self)
 
timedelta|None update_interval (self)
 
None update_interval (self, timedelta|None value)
 
- Public Member Functions inherited from homeassistant.util.frozen_dataclass_compat.FrozenOrThawed
None __init__ (cls, str name, tuple[type,...] bases, dict[Any, Any] namespace, **Any kwargs)
 
Any __new__ (mcs, str name, tuple[type,...] bases, dict[Any, Any] namespace, bool frozen_or_thawed=False, **Any kwargs)
 

Additional Inherited Members

- Public Attributes inherited from homeassistant.components.withings.coordinator.WithingsDataUpdateCoordinator
 name
 
 update_interval
 
 webhooks_connected
 
- Public Attributes inherited from homeassistant.helpers.update_coordinator.DataUpdateCoordinator
 always_update
 
 config_entry
 
 data
 
 hass
 
 last_exception
 
 last_update_success
 
 logger
 
 name
 
 setup_method
 
 update_interval
 
 update_method
 
- Static Public Attributes inherited from homeassistant.components.withings.coordinator.WithingsGoalsDataUpdateCoordinator
 str
 
- Static Public Attributes inherited from homeassistant.components.withings.coordinator.WithingsDataUpdateCoordinator
 bool
 
 None
 
 str
 
- Static Public Attributes inherited from homeassistant.components.withings.sensor.WithingsGoalsSensorEntityDescription
 device_class
 
 key
 
 native_unit_of_measurement
 
 state_class
 
 suggested_unit_of_measurement
 
 translation_key
 
 value_fn
 
- Static Public Attributes inherited from homeassistant.components.sensor.SensorEntityDescription
 None
 
- Static Public Attributes inherited from homeassistant.helpers.entity.EntityDescription
 bool
 
 None
 

Detailed Description

Implementation of a Withings goals sensor.

Definition at line 940 of file sensor.py.

Member Function Documentation

◆ native_value()

StateType homeassistant.components.withings.sensor.WithingsGoalsSensor.native_value (   self)
Return the state of the entity.

Definition at line 949 of file sensor.py.


The documentation for this class was generated from the following file: