Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.fitbit.const .FitbitUnitSystem Class Reference
Inheritance diagram for homeassistant.components.fitbit.const .FitbitUnitSystem:
[legend]
Collaboration diagram for homeassistant.components.fitbit.const .FitbitUnitSystem:
[legend]

Static Public Attributes

string EN_GB = "en_GB"
 
string EN_US = "en_US"
 
 Final
 
string LEGACY_DEFAULT = "default"
 
string METRIC = "metric"
 

Detailed Description

Fitbit unit system set when sending requests to the Fitbit API.

This is used as a header to tell the Fitbit API which type of units to return.
https://dev.fitbit.com/build/reference/web-api/developer-guide/application-design/#Units

Prefer to leave unset for newer configurations to use the Home Assistant default units.

Definition at line 49 of file const.py.

Member Data Documentation

◆ EN_GB

string homeassistant.components.fitbit.const .FitbitUnitSystem.EN_GB = "en_GB"
static

Definition at line 67 of file const.py.

◆ EN_US

string homeassistant.components.fitbit.const .FitbitUnitSystem.EN_US = "en_US"
static

Definition at line 64 of file const.py.

◆ Final

homeassistant.components.fitbit.const .FitbitUnitSystem.Final
static

Definition at line 71 of file const.py.

◆ LEGACY_DEFAULT

string homeassistant.components.fitbit.const .FitbitUnitSystem.LEGACY_DEFAULT = "default"
static

Definition at line 58 of file const.py.

◆ METRIC

string homeassistant.components.fitbit.const .FitbitUnitSystem.METRIC = "metric"
static

Definition at line 61 of file const.py.


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