mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-05-02 17:18:58 +00:00

* Clean up configuration options for history_graph * Update netatmo config formatting * Remove title * Minor fixes
1.6 KiB
1.6 KiB
layout, title, description, date, sidebar, comments, sharing, footer, ha_category, logo, ha_release, ha_qa_scale
layout | title | description | date | sidebar | comments | sharing | footer | ha_category | logo | ha_release | ha_qa_scale |
---|---|---|---|---|---|---|---|---|---|---|---|
page | History Graph | Instructions for setting up History Graph. | 2017-09-20 15:00 | true | false | true | true | History | home-assistant.png | 0.55 | internal |
The history_graph
component will make the UI display a graph similar to the graphs in more-info
popups and the history panel.
To use this component in your installation, add the following to your configuration.yaml
file:
# Minimal configuration.yaml entry
history_graph:
gr1:
entities:
- light.ceiling.lights
{% configuration %} entities: description: List of entities whose history to show as a graph. required: true type: string name: description: Name to display. required: false default: ID type: string hours_to_show: description: Number of hours to show in the graph. required: false default: 24 type: integer refresh: description: Number of seconds between graph refreshes. 0 to disable refreshing. required: false default: 0 type: integer {% endconfiguration %}
{% linkable_title Full Example %}
# Full configuration.yaml entry
history_graph:
gr1:
name: Lights Graph
entities:
- light.ceiling.lights
- light.bed_light
hours_to_show: 240
refresh: 60
gr2:
name: Temperature
entities:
- sensor.outside_temperature
- sensor.inside_temperature
hours_to_show: 120
# refresh: 0