I have an irrigation controller that integrates with MQTT (it does not use MQTT discovery).
I would like to name my entities ‘binary_sensor.irrigation.’ - but HA seems to simply derive the entity name from the ‘name:’ field in the config resulting in “binary_sensor.veggie_garden”. The “name” field in the config seems to map to the “friendly_name” field in the UI. I’ve tried using “unique_id” but that does not seem to influence the entity name.
How do I set the entity name and friendly name?
- platform: mqtt
state_topic: "irrigation/mcsSprinklers/state/VeggieGarden"
name: "Veggie Garden"
icon: hass:flower
unique_id: "irrigation.veggie_garden"
1 post - 1 participant