I’ve set up some lighting options in lovelace and I quickly realized that a switch
entity does not have a type: light
option; but I want a big switch with a lightbulb on it because it’s actually an on/off lightbulb. So I used the entity-button card in lovelace. It works, but the icon is a different size than the standard dimmer light icon (see Front House Lights below). Is there any way to size this entity so that it’s similarly sized to the other dimmer-style lights?
This is what my card looks like:
Here’s the lovelace code for it:
cards:
- cards:
- entity: light.office_light_dimmer_switch
name: Office
type: light
- entity: light.living_room_light_dimmer_switch
name: Living Room
type: light
entity: null
type: horizontal-stack
- cards:
- entity: light.outdoor_front_post_light_switch
name: Front Post Light
type: light
- entity: switch.outdoor_front_light_switch
hold_action:
action: more-info
icon: 'mdi:lightbulb'
name: Front House Lights
tap_action:
action: toggle
theme: Backend-selected
type: entity-button
entity: null
type: horizontal-stack
type: vertical-stack
Thanks,
-Greg