Skip to content

ljmerza/fitbit-card

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fitbit Card for Home Assistant

Show your Fitbit stats

Installation through HACS

Configurations:


type: 'custom:fitbit-card'
battery_entity: sensor.versa_battery
header_entities:
  - entity: sensor.tracker_steps
    icon_color: '#14308D'
  - entity: sensor.distance
    show_units: true
  - entity: sensor.tracker_calories
    icon_color: red
entities:
  - entity: sensor.minutes_sedentary
    max: 1000
  - entity: sensor.minutes_very_active
    max: 120
  - entity: sensor.minutes_lightly_active
    max: 50
    color_stops:
      '0': red
      '50': yellow
      '90': green
  - entity: sensor.resting_heart_rate
    show_units: true

Options


Name Type Requirement Default value Description
type string Required custom:fitbit-card
battery_entity string Optional Battery entity to show battery status
header boolean Optional true Show/hide header
header_entities list Optional [] List of fitbit sensors to display in the header
show_units_header boolean Optional false Show units for all header entities
entities list Optional [] List of fitbit sensors to display in the body
max string Optional 100 Global maximum value for body entities

header_entities options

Name Type Requirement Default value Description
entity string Required Name of entitiy
icon_color string Optional color of icon next to entity (can be color name or hex value)
show_units boolean Optional false show units next to entity value (show_units_header overrides this)
units string Optional override default units with custom units

entities options

Name Type Requirement Default value Description
entity string Required Name of entitiy
max number Optional global max value override global maxiumum value for this entity
color_stops list Optional --primary-color custom colors for percent circle
show_units boolean Optional false show units next to value
units string Optional override default units with custom units

Enjoy my card? Help me out for a couple of 🍻 or a ☕!

coffee