Customize error

nyone tell me why this customize will not work please. Eroor log says it doesn’t recognise it.

homeassistant:

Name of the location where Home Assistant is running

name: Hatfield Home Automation Server

Location required to calculate the time the sun rises and sets

latitude: 56.608962
longitude: -0.540933

Impacts weather/sunrise data (altitude above sea level in meters)

elevation: 30

metric for Metric, imperial for Imperial

unit_system: metric

Pick yours from here: List of tz database time zones - Wikipedia

time_zone: Europe/London

>   customize:
>     # Add an entry for each entity that you want to overwrite.
>     sensor.temperature_sensor_2_0:
>       friendly_name: Room Sensor 1
>     sensor.temperature_sensor_2_1:
>       friendly_name: Room Sensor 2

You forgot to follow the guidance in the blue box at the top - you’ve used the quote formatting option instead of the preformatted option :wink:

Edit: Oh, and exactly what is the error?

17-03-13 21:44:23 ERROR (MainThread) [homeassistant.loader] Unable to find component customize
17-03-13 21:44:23 ERROR (MainThread) [homeassistant.setup] Setup failed for customize: Component not found.

homeassistant:
  # Name of the location where Home Assistant is running
  name: Hatfield Home Automation Server
  # Location required to calculate the time the sun rises and sets
  latitude: 51.608962
  longitude: -0.550933
  # Impacts weather/sunrise data (altitude above sea level in meters)
  elevation: 30
  # metric for Metric, imperial for Imperial
  unit_system: metric
  # Pick yours from here: http://en.wikipedia.org/wiki/List_of_tz_database_time_zones
  time_zone: Europe/London

  customize:
    # Add an entry for each entity that you want to overwrite.
    sensor.temperature_sensor_2_0:
      friendly_name: Room Sensor 1
    sensor.temperature_sensor_2_1:
      friendly_name: Room Sensor 2

Edit: wrong info

1 Like

This is actually incorrect. Unless I missed a recent change, customize is a child of homeassistant.

Is it possible that you’ve got a tab instead of a space in there somewhere?

And be sure that sensor.temperature_sensor_2_0 and sensor.temperature_sensor_2_1 are the correct entity_ids for your devices (check the states dev tool).

You’re right. It was late and I was tired when I was reading it.