Customize only reading first entity

Hi All

My customize is only working for the first entity in my yaml file, has anyone else had this issue?

my yaml file:

switch.garden_lights:
  icon: mdi:lightbulb
  friendly_name: The Lights
automation.boil_kettle:
  icon: mdi:kettle
  friendly_name: The Kettle
switch.garden_water_1:
  icon: mdi:water
switch.garden_water_2:
  icon: mdi:water

you should post your whole config that contains the pointer to this file

so I have narrowed it down a little, its working it just seems you can’t customize an automation. Is that correct? Should the following work;

automation.boil_kettle:
  friendly_name: The Kettle

You should be able to. Are you sure you have the correct entity_id?

so I checked and you are right I had the wron g entity, so I swapped it to this and it still didn’t work;

input_boolean.boil_kettle

what about this part

input_boolean.boil_kettle

so I have this in customize;

input_boolean.boil_kettle:
  icon: mdi:lightbulb

and that is the correct entity as I can see it in my groups yaml.

it still wont set the icon correctly.

You should set the input_boolean’s icon in the same place you create it:

input_boolean:
  boil_kettle:
    name: whatever
    icon: mdi:lightbulb