Custom Lovelace Card - Control lights better on tablets

It’s been a long time but hope it helps somebody:

1 Like

I have added a dimmer entity but it seems to pick this up as a on/off… why is that. In the “default” config I can adjust brightness…

Love the card. Made some mods to fit my needs.

2 Likes

Followed all these directions and still getting this.

No card type configured
- type: custom:custom-smart-home-panel-card
  title: Kitchen
  icon: mdi:floor-lamp
  showButton: show
  buttonText: Test
  buttonPath: /lovelace/0
  background: '#1c1d1f'
  entities:
    - entity: null
    - entity: null

Can anyone help?

I believe your indention is bad and don’t need the hyphen.

This

No card type configured

  • type: custom:custom-smart-home-panel-card
    title: Kitchen
    icon: mdi:floor-lamp
    showButton: show
    buttonText: Test
    buttonPath: /lovelace/0
    background: ‘#1c1d1f
    entities:
    • entity: null
    • entity: null

Should be like this

type: custom:custom-smart-home-panel-card
title: Kitchen
icon: mdi:floor-lamp
showButton: show
buttonText: Test
buttonPath: /lovelace/0
background: ‘#1c1d1f
entities:

  • entity: null
  • entity: null

Looks great, could you please please share your config/js ?

Did you ever figure this out? All of my dimmable bulbs show up as on/off only.

I just installed your custom card – it looks awesome, thank you! I have a couple lights added to it and they are all dimmable bulbs but the card shows them as on/off only. The default light cards can dim them. Any ideas?