Skip to content

cheard/ha_cellar_tracker

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 

Repository files navigation

Cellar Tracker for Home Assistant

hacs_badge

Configuration:

Add to configuration.yaml:

cellar_tracker:
  username:  !secret cellar_tracker_username
  password:  !secret cellar_tracker_password

Sample Dashboard Config

title: Home
views:
    cards:
      - entities:
          - entity: sensor.cellar_tracker_total_bottles
          - entity: sensor.cellar_tracker_total_value
        show_icon: true
        type: glance
      - clickable: true
        columns:
          - data: sub_type
            name: Producer
          - data: count
            name: Count
            modify: parseFloat(x)
          - data: '%'
            modify: parseFloat(x).toFixed(0)
            name: Percentage
            suffix: '%'
          - data: value_avg
            name: Average Value
            prefix: $
            modify: parseFloat(x).toFixed(0)
        entities:
          include: sensor.cellar_tracker_producer*
        title: Bottles by Producer
        type: 'custom:flex-table-card'
        sort_by: count-
      - clickable: true
        columns:
          - data: sub_type
            name: Vintage
          - data: count
            name: Count
            modify: parseFloat(x)
          - data: '%'
            modify: parseFloat(x).toFixed(0)
            name: Percentage
            suffix: '%'
          - data: value_avg
            name: Average Value
            prefix: $
            modify: parseFloat(x).toFixed(0)
        entities:
          include: sensor.cellar_tracker_vintage*
        title: Bottles by Vintage
        type: 'custom:flex-table-card'
        sort_by: count-
      - clickable: true
        columns:
          - data: sub_type
            name: Country
          - data: count
            name: Count
            modify: parseFloat(x)
          - data: '%'
            modify: parseFloat(x).toFixed(0)
            name: Percentage
            suffix: '%'
          - data: value_avg
            name: Average Value
            prefix: $
            modify: parseFloat(x).toFixed(0)
        entities:
          include: sensor.cellar_tracker_country*
        title: Bottles by Country
        type: 'custom:flex-table-card'
        sort_by: count-
      - clickable: true
        columns:
          - data: sub_type
            name: Varietal
          - data: count
            name: Count
            modify: parseFloat(x)
          - data: '%'
            modify: parseFloat(x).toFixed(0)
            name: Percentage
            suffix: '%'
          - data: value_avg
            name: Average Value
            prefix: $
            modify: parseFloat(x).toFixed(0)
        entities:
          include: sensor.cellar_tracker_varietal*
        title: Bottles by Varietal
        type: 'custom:flex-table-card'
        sort_by: count-
    path: default_view
    title: Home

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%