mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-25 10:17:23 +00:00
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
This commit is contained in:
parent
704ace2254
commit
174044ee9c
@ -59,7 +59,7 @@ name:
|
|||||||
type: string
|
type: string
|
||||||
{% endconfiguration %}
|
{% endconfiguration %}
|
||||||
|
|
||||||
## Example
|
## Examples
|
||||||
|
|
||||||
Alternatively, the card can be configured using YAML:
|
Alternatively, the card can be configured using YAML:
|
||||||
|
|
||||||
@ -71,3 +71,17 @@ entities:
|
|||||||
- entity: media_player.lounge_room
|
- entity: media_player.lounge_room
|
||||||
name: Main player
|
name: Main player
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Or with longer time frame, and multiple entities (as long as they share the same unit_of_measurement) in one graph:
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
type: history-graph
|
||||||
|
title: "Temperatures in the last 48 hours"
|
||||||
|
hours_to_show: 48
|
||||||
|
entities:
|
||||||
|
- sensor.outside_temperature
|
||||||
|
- entity: sensor.lounge_temperature
|
||||||
|
name: "Lounge"
|
||||||
|
- entity: sensor.attic_temperature
|
||||||
|
name: "Attic"
|
||||||
|
```
|
||||||
|
Loading…
x
Reference in New Issue
Block a user