Skip to content

Commit cd7d1ed

Browse files
authored
Update README.md
1 parent b50aedb commit cd7d1ed

File tree

1 file changed

+1
-48
lines changed

1 file changed

+1
-48
lines changed

bignumber-card/README.md

+1-48
Original file line numberDiff line numberDiff line change
@@ -1,48 +1 @@
1-
# Big number card
2-
3-
A simple card to display big numbers for sensors. It also supports severity levels as background.
4-
5-
![bignumber](https://user-images.githubusercontent.com/7738048/42536247-262b74e0-849a-11e8-8ed1-967302b73e03.gif)
6-
7-
**Options**
8-
9-
| Name | Type | Default | Description
10-
| ---- | ---- | ------- | -----------
11-
| type | string | **Required** | `custom:bignumber-card`
12-
| title | string | optional | Name to display on card
13-
| scale | string | 50px | Base scale for card: '50px'
14-
| entity | string | **Required** | `sensor.my_temperature`
15-
| min | number | optional | Minimum value. If specified you get bar display
16-
| max | number | optional | Maximum value. Must be specified if you added min
17-
| from | string | left | Direction from where the bar will start filling (must have min/max specified)
18-
| severity | list | optional | A list of severity objects. Items in list must be ascending based on 'value'
19-
20-
Severity object
21-
22-
| Name | Type | Default | Description
23-
| ---- | ---- | ------- | -----------
24-
| value | number | **Required** | Value until which to use this severity
25-
| style | number | **Required** | Color of severity. Can be either hex or HA variable. Example: 'var(--label-badge-green)'
26-
27-
### WARNINGS
28-
- Make sure you use ascending object values to have consistent behaviour
29-
- Values are the upper limit until which that severity is applied
30-
31-
**Example**
32-
33-
```yaml
34-
- type: custom:bignumber-card
35-
title: Humidity
36-
entity: sensor.outside_humidity
37-
scale: 30px
38-
from: bottom
39-
min: 0
40-
max: 100
41-
severity:
42-
- value: 70
43-
style: 'var(--label-badge-green)'
44-
- value: 90
45-
style: 'var(--label-badge-yellow)'
46-
- value: 100
47-
style: 'var(--label-badge-red)'
48-
```
1+
# Big number card has moved to https://github.com/custom-cards/bignumber-card

0 commit comments

Comments
 (0)