mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-18 23:06:58 +00:00
Add max devices config to energy devices graph (#29255)
Co-authored-by: c0ffeeca7 <38767475+c0ffeeca7@users.noreply.github.com>
This commit is contained in:
parent
bd018a257e
commit
5ca2daee6e
@ -181,7 +181,17 @@ type: energy-self-sufficiency-gauge
|
||||
|
||||
The devices energy graph show the energy usage per device, it is sorted by usage.
|
||||
|
||||
### Example
|
||||
By default, this card will show all your devices. Optionally, the number of devices can be limited by adding the `max_devices` option and specifying the maximum number of devices to show. If there are more devices available than shown, the devices with the highest energy usage are shown.
|
||||
|
||||
### Examples
|
||||
|
||||
```yaml
|
||||
type: energy-devices-graph
|
||||
```
|
||||
|
||||
The following example limits the number of shown devices to 5:
|
||||
|
||||
```yaml
|
||||
type: energy-devices-graph
|
||||
max_devices: 5
|
||||
```
|
||||
|
Loading…
x
Reference in New Issue
Block a user