Skip to content

Commit 07a40fa

Browse files
schmittxfabaff
authored andcommitted
Update sensor.fitbit.markdown (home-assistant#3206)
Add ‘clock_format’ configuration variable
1 parent 2353ca5 commit 07a40fa

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

source/_components/sensor.fitbit.markdown

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ Enable the sensor by adding the following to your `configuration.yaml` file:
2121
# Example configuration.yaml entry
2222
sensor:
2323
- platform: fitbit
24+
clock_format: 12H
2425
monitored_resources:
2526
- "body/weight"
2627
```
@@ -34,6 +35,7 @@ The unit system that the sensor will use is based on the country you set in your
3435
Configuration variables:
3536

3637
- **monitored_resources** (*Optional*): Resource to monitor. Defaults to `activities/steps`.
38+
- **clock_format** (*Optional*): Format to use for `sleep/startTime` resource. Accepts `12H` or `24H`. Defaults to `24H`.
3739

3840
Below is the list of resources that you can add to `monitored_resources`. One sensor is exposed for every resource.
3941

0 commit comments

Comments
 (0)