Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 117713

MQTT Binary Sensor Entity Names

$
0
0

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

Read full topic


Viewing all articles
Browse latest Browse all 117713

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>