Skip to content

[Bug] Calendar display doesn't fill card when Date Picker in M or Y #159

@bizbjc

Description

@bizbjc

1. Is it related to Long Term Statistics (LTS)?

No

1a. If it is related to Long Term Statistics (LTS) then please attach your CSV file(s) of entities

I did

2. Your YAML Code

# Paste your yaml code here
type: custom:statistics-graph-chart-card
show_date_picker: true
date_picker_default_mode: month
group_by: date
chart_mode: calendar
entities:
  - entity: sensor.home_energy_usage
    number_format: dot
    aggregate_func: change
    graph_type: bar
    align_state: bottom-center
    show_trend_icon: false
    primary_state_as: sum
    name_position: below
annotations: []
grid_options:
  rows: auto
  columns: 12

3. Bug Description

When using a Calendar chart with Date Picker, the display of cells in "M" or "Y" mode do not utilise the full width of the card like "W" does.

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions