I’m setting up some MQTT sensors using ESPEasy.
I would like to set the sensor ID manually, but it is always inferred from the friendly name:
- platform: mqtt state_topic: "ESP_LoLin_A/bme280/Pressure" name: "Pression Bureau" unique_id: lolinA_pressure device_class: pressure unit_of_measurement: 'hPa'
This would give a sensor named
sensor.pression_bureau, although I’d like to have it named
sensor.lolinA_pressure, in case I want to change its location some day.
Obviously, I’m using
How could I set the name manually?