Hi,
my sensor.yaml looks like:
- platform: dht
sensor: DHT22
pin: ‘22’
monitored_conditions:- temperature
- humidity
Now I try to get a friendly name for temperature and humidity.
When I look to the states view I do get
sensor.dht_sensor_humidity 50.5 friendly_name: DHT Sensor Humidity
unit_of_measurement: %
sensor.dht_sensor_temperature 20.9 friendly_name: DHT Sensor Temperature
unit_of_measurement: °C
My first try was to change the friendly_name within the
customize:
sensor.dht_sensor_temperature:
friendly_name: Office TemperaturPreformatted text
But that was just ignored. So now I wonder how I can the friendly name of that sensor?