Friendly name for Vera devices

I’m trying to get a new friendly name and an icon for a light device (Z-Wave via Vera Plus).

customize:
light.tak_ha:
friendly_name:
icon: mdi:kettle

Any ideas on why it’s not working?

Looks like your indenting is off, easy to fix.

Should look similar to this, not all starting at the same point of a line.

  customize:
    # Only the 'entity_id' is required.  All other options are optional.
    sensor.living_room_motion:
      hidden: true
    thermostat.family_roomfamily_room:
      entity_picture: https://example.com/images/nest.jpg
      friendly_name: Nest
    switch.wemo_switch_1:
      friendly_name: Toaster
      entity_picture: /local/toaster.jpg
    switch.wemo_switch_2:
      friendly_name: Kitchen kettle
      icon: mdi:kettle

Also, if you uses the < / > option when posting code, everyone will be able to see the indenting better. All indents are multiples of 2 spaces. Yours should probably look something like this.

customize:
  light.tak_ha:
    friendly_name:
    icon: mdi:kettle

Thanks
Sorry. I did not know how to use the </>. And that’s why I lost the indenting.
The indenting is correct in the configuration file. Still not working for Vera devices though

customize:
  light.tak_ha:
    friendly_name: Takbelysning
    icon: mdi:kettle

I’m not so sure then.

Do you have the customisations in a separate file?

You’d have this in your configuration.yaml

customize: !include customize.yaml

And then another file with all the customising details.

So my customize.yaml looks like this:

  switch.wemo_switch_grey:
    friendly_name: Kitchen Lamp
    icon: mdi:lamp

  switch.wemo_switch_white:
    friendly_name: Copper Tree
    icon: mdi:creation

I’ve found a full restart is sometimes needed too, as icon changes only propagate when there’s a state change - and your Vera might not have changed its state yet.

Thanks
I’m not using a separate file.
I have restarted both hass and the Vera

Ahh, not sure so.

I did get a bit frustrated at the start with customizing.

I found spliting the files out into smaller sections a great help.

I’d would make copies of all the config files you have now, and then start splitting the files up.

You will more than likely do it anyway as your demands grow, and a single config file gets too much to keep scrolling through.

Be sure that your customize block is a child of “homeassistant”, not a sibling. That’s a common mistake.