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 GitHub
parent ec0e18eca3
commit e1ee16dd89
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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.
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-detail-graph
```
The following example limits the number of shown devices to 5:
```yaml
type: energy-devices-detail-graph
max_devices: 5
```