Fix for non-chrome browsers. Add debug information

This commit is contained in:
2019-07-23 21:20:54 +02:00
parent 5cf652bd7a
commit c45bcea191
3 changed files with 38 additions and 13 deletions

View File

@@ -109,6 +109,8 @@ In this case, you can make `style:` a dictionary instead of a string, where each
This is not for the faint of heart.
For some extra help, add `debug_cardMod: true` to the card config, and the steps taken to apply the styling will be printed in the browser console. It can be removed later.
**Example**:
Change some things in an `alarm-panel` card.
@@ -116,6 +118,7 @@ Change some things in an `alarm-panel` card.
type: alarm-panel
card_icon: mdi:bell
name: Alarm Panel
debug_cardMod: true
style:
.: |
ha-card {