Improved mod-card. Added report_size option, fix #17
This commit is contained in:
13
README.md
13
README.md
@@ -246,6 +246,19 @@ card:
|
||||
```
|
||||

|
||||
|
||||
> Note: mod-card sets it's own `background` to `transparent`. That means, `--ha-card-background` will have no effect on mod-card itself. Instead, you ahve to modify the `background` property directly.
|
||||
|
||||
Mod-card also allows you to manually specify a `cardHeight` of a card. This can be used to slightly modify the behavior of the layout engine of lovelace. See [this description](https://github.com/thomasloven/lovelace-layout-card#auto-layout) for details.
|
||||
The cardHeight is set with the `report_size:` option:
|
||||
|
||||
```yaml
|
||||
type: custom:mod-card
|
||||
report_size: 5
|
||||
card:
|
||||
... etc ...
|
||||
```
|
||||
|
||||
|
||||
# FAQ
|
||||
|
||||
### How do I convert my old card-modder configuration to card-mod?
|
||||
|
||||
Reference in New Issue
Block a user