Update energy.markdown for detail devices max_devices (#31731)

This commit is contained in:
karwosts 2024-03-05 09:24:02 -05:00 committed by Franck Nijhof
parent 3775b361f6
commit 42cd94047a
No known key found for this signature in database
GPG Key ID: D62583BA8AB11CA3

View File

@ -206,8 +206,17 @@ max_devices: 5
The **Detail devices energy graph** card is similar to the **Devices energy graph** card, but shows the individual usage on a time scale. The **Detail devices energy graph** card is similar to the **Devices energy graph** card, but shows the individual usage on a time scale.
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 ### Examples
```yaml ```yaml
type: energy-devices-detail-graph type: energy-devices-detail-graph
``` ```
The following example limits the number of shown devices to 5:
```yaml
type: energy-devices-detail-graph
max_devices: 5
```