-
Notifications
You must be signed in to change notification settings - Fork 10
Incorrect time period for Graph module #65
Copy link
Copy link
Open
Description
Hello, thank you for the great library !
Bug description
Installed version of Ultra-Card: v3.1.0
I saw that there are v3.2.0-beta2 available, but because of issue #63 , I cannot test it, sorry. If that was fixed in these version, feel free to close this ticket
I got some issues regarding the time span period for the Graph module. In the configuration tab, in the display section, if I select "Last 3 hours", the graph is updated but seems to display last ~10 hours:
The time axis (and data) span from 12h to 23h instead of being from 20h to 23h
YAML
Below is the whole YAML file for the component (mostly default values)
type: custom:ultra-card
card_background: var(--card-background-color, var(--ha-card-background, white))
card_border_radius: 12
card_border_color: var(--divider-color)
card_border_width: 1
card_padding: 16
layout:
rows:
- id: row1
columns:
- id: col1
modules:
- id: graphs-1774906357681-zns6dwji3
type: graphs
data_source: history
forecast_type: hourly
forecast_entity: ""
chart_type: line
entities:
- id: entity-1774906361023-i2gfcsft9
entity: sensor.my_sensor
name: ""
attribute: ""
color: "#2196F3"
show_points: true
fill_area: true
line_width: 2
line_style: solid
time_period: 3h
chart_width: 100%
chart_width_percent: 100
chart_height: 345
show_title: false
chart_alignment: center
show_display_name: true
show_entity_value: false
info_position: top_left
title_font_size: 12
value_font_size: 16
show_legend: false
legend_position: bottom_left
show_grid: true
show_time_intervals: true
smooth_curves: true
show_tooltips: true
show_slice_labels: true
bar_display_limit: 0
use_fixed_y_axis: true
template_mode: false
template: ""
display_mode: always
display_conditions: []
y_axis_max: 50
design: {}Thank you in advance
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels