"bulb light" icon

Hi.
is there a way to make the “bulb light” icon as the default icon for the switch domain?
instead the iron icon.

Thanks
Refael

1 Like

If I understand what your asking, yes. You can use the customize options to set a different default icon for an entire domain.

  # Customize all entities in a domain
  customize_domain:
    switch:
      icon: mdi:home

-Source & Documentation

1 Like

wow
didn’t know that.

Thanks
Refael

  1. I am a rank amateur, so whatever I say is likely wrong.

Go into the customize.yaml file and add something like this:

switch.desk_light:
  icon: mdi:desk-lamp

I have switches, sensors and lights with their own icons defined in my customization.yaml file.

Hope this helps.

Hi.
i did as you told,
i put it under homeassistant in configuration.yaml
like this-

homeassistant:
name: Home
latitude: xxxx
longitude: xxxxx
elevation: 65
unit_system: metric
time_zone: Asia/Jerusalem
customize_domain:
switch:
icon: mdi:lightbulb
customize: !include customize.yaml

but the Configuration validation give:
expected a dictionary for dictionary value @ data[‘customize_domain’]

any idea?
Thanks
Refael

solved. i had to make “customize_domain.yaml” file
and inside wrote
switch:
icon: mdi:lightbulb

Refael