thomasloven / lovelace-card-mod

🔹 Add CSS styles to (almost) any lovelace card
MIT License
1.12k stars 167 forks source link

3.1.0: no more mod-card config #160

Closed Mariusthvdb closed 2 years ago

Mariusthvdb commented 2 years ago

My Home Assistant version: 0.XX.X 2021.11.5 My lovelace configuration method (GUI or yaml): Yaml What I am doing: using a mod-card config What I expected to happen: show the mod-card config What happened instead: no show Minimal steps to reproduce:

# The least amount of code possible to reproduce my error
  - type: custom:mod-card
    card_mod:
      style: |
        ha-card {
          margin: -8px -16px -16px -16px;
        }
    card:
      type: custom:hui-element
      card_type: history-graph
      hours_to_show: 48
      refresh_interval: 60
      entities:
# End of code

Error messages from the browser console:


No error, though I briefly saw the error message in the frontend card, 'no mod-card available'

tried in Firefox, Safari and Chrome on Mac

By putting an X in the boxes ([]) below, I indicate that I: