mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-10 10:56:49 +00:00
Enable Statistics Graph card to integrate with Energy Dashboard (#36805)
* Update statistics-graph.markdown * Update statistics-graph.markdown * attempt to fix pipeline failure --------- Co-authored-by: c0ffeeca7 <38767475+c0ffeeca7@users.noreply.github.com>
This commit is contained in:
parent
c6daf3c3fe
commit
01e6ae87ab
@ -62,7 +62,7 @@ title:
|
||||
type: string
|
||||
period:
|
||||
required: false
|
||||
description: The period of the rendered graph. `5minute`, `hour`, `day`, `week` or `month`
|
||||
description: The period of the rendered graph. `5minute`, `hour`, `day`, `week` or `month`. If `energy_date_selection` is true, and `period` is not defined, the chart period will auto-select between month/day/hour based on the selected date range.
|
||||
type: string
|
||||
hide_legend:
|
||||
required: false
|
||||
@ -87,6 +87,15 @@ fit_y_data:
|
||||
description: If true, configured Y-axis bounds would automatically extend (but not shrink) to fit the data.
|
||||
type: boolean
|
||||
default: false
|
||||
energy_date_selection:
|
||||
required: false
|
||||
description: If true, chart date range will follow the date selected on an `energy-date-selection` card on the same view, similar to energy cards.
|
||||
type: boolean
|
||||
default: false
|
||||
collection_key:
|
||||
required: false
|
||||
description: If using `energy_date_selection`, you can set a custom key to match the optional key of an `energy-date-selection` card. This is not typically required, but can be useful if multiple date selection cards are used on the same view.
|
||||
type: string
|
||||
{% endconfiguration %}
|
||||
|
||||
### Options for entities
|
||||
|
Loading…
x
Reference in New Issue
Block a user