maykar / compact-custom-header

This project has been replaced by Custom Header
MIT License
238 stars 31 forks source link

Background #148

Closed brettlg closed 5 years ago

brettlg commented 5 years ago

Describe the bug:

Current version of CCH not honouring background: 'rgba(0, 0, 0, 0.2)' Old version was perfect, config was just moved from card to CCH:

Config YAML:

<!-- Paste your lovelace code for the card after this line -->
cch:
  - type: 'custom:compact-custom-header'
    main_config: true
    background: 'rgba(0, 0, 0, 0.2)'
    menu: show
    options: show
    voice: show
    notifications: clock
    clock_format: '12'
    clock_date: true
    date_locale: en-gb
    disable: false
    chevrons: true

HA and/or Browser Error:

Card is still functional just visual styling not correct

HA, Card, and Browser Versions:

Safari on OS 10.14 and Chrome on OS 10.14

Homeassistant V 0.95.4 CCH V 1.1.8

maykar commented 5 years ago

Remove type: 'custom:compact-custom-header' and main_config: true

cch:
    background: 'rgba(0, 0, 0, 0.2)'
    menu: show
    options: show
    voice: show
    notifications: clock
    clock_format: '12'
    clock_date: true
    date_locale: en-gb
    disable: false
    chevrons: true
brettlg commented 5 years ago

You're a legend.
Thanks for your quick reply.
I love the polished uncluttered look of this module.