mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-14 12:56:54 +00:00
Update sensor.fitbit.markdown (#3206)
Add ‘clock_format’ configuration variable
This commit is contained in:
parent
2353ca554c
commit
07a40fa405
@ -21,6 +21,7 @@ Enable the sensor by adding the following to your `configuration.yaml` file:
|
|||||||
# Example configuration.yaml entry
|
# Example configuration.yaml entry
|
||||||
sensor:
|
sensor:
|
||||||
- platform: fitbit
|
- platform: fitbit
|
||||||
|
clock_format: 12H
|
||||||
monitored_resources:
|
monitored_resources:
|
||||||
- "body/weight"
|
- "body/weight"
|
||||||
```
|
```
|
||||||
@ -34,6 +35,7 @@ The unit system that the sensor will use is based on the country you set in your
|
|||||||
Configuration variables:
|
Configuration variables:
|
||||||
|
|
||||||
- **monitored_resources** (*Optional*): Resource to monitor. Defaults to `activities/steps`.
|
- **monitored_resources** (*Optional*): Resource to monitor. Defaults to `activities/steps`.
|
||||||
|
- **clock_format** (*Optional*): Format to use for `sleep/startTime` resource. Accepts `12H` or `24H`. Defaults to `24H`.
|
||||||
|
|
||||||
Below is the list of resources that you can add to `monitored_resources`. One sensor is exposed for every resource.
|
Below is the list of resources that you can add to `monitored_resources`. One sensor is exposed for every resource.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user