Skip to content

Commit 2b06130

Browse files
authored
Support for device names with entity ID
1 parent 62c92dc commit 2b06130

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ Devices are power feeds within your home that you want to show in the card. By d
207207
| Device entity | `entity` | Sensor/entity id for a load. |
208208
| Device attribute | `attribute` | Read from an attribute instead of state. |
209209
| Switch Entity | `switch_entity` | Will toggle the on/off of the switch when pressing the icon/label. |
210-
| Name Label | `name` | Show a label for each device. Only works with card set to 4 or more rows in height in the sections UI. [See here](https://github.com/pacemaker82/Compact-Power-Card#managing-the-size-of-the-card) for more |
210+
| Name Label | `name` | Show a label for each device. Can use either a string or entity ID. Only works with card set to 4 or more rows in height in the sections UI. [See here](https://github.com/pacemaker82/Compact-Power-Card#managing-the-size-of-the-card) for more |
211211
| Icon | `icon` | Optional icon for the device badge. |
212212
| Color | `color` | Optional color override for that device. |
213213
| Threshold | `threshold` | Dims/zeros device below threshold (in watts) (per `threshold_mode`). |
@@ -351,4 +351,4 @@ entities:
351351
attribute: temperature
352352
unit: "C"
353353
threshold: 50
354-
```
354+
```

0 commit comments

Comments
 (0)