File tree 1 file changed +4
-1
lines changed
1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -20,6 +20,7 @@ Entity attributes allows you to show basic attributes from multiple entities.
20
20
| ---- | ---- | ------- | -----------
21
21
| key | string | ** Required** | A pattern for the attribute. Example: ` media_player.bedroom.media_title `
22
22
| name | string | optional | A string to replace the actual attribute name with
23
+ | unit | string | optional | A string to append an arbitrary unit to the value
23
24
24
25
** Example**
25
26
@@ -36,6 +37,8 @@ Entity attributes allows you to show basic attributes from multiple entities.
36
37
- key : media_player.bedroom.media_title
37
38
name : Media center
38
39
- climate.heatpump.current_temperature
40
+ - vacuum.xiaomi_mi_robot.battery_level
41
+ unit : %
39
42
` ` `
40
43
41
44
How to embed this inside ` entities` card:
@@ -55,4 +58,4 @@ How to embed this inside `entities` card:
55
58
- media_player.bedroom.media_title
56
59
- sensor.short_name
57
60
- sensor.battery_sensor
58
- ` ` `
61
+ ` ` `
You can’t perform that action at this time.
0 commit comments