Created a new mqtt sensor configuration
configuration.yaml:
mqtt: !include_dir_merge_list includes/mqtt
mqtt/sensors.yaml:
sensor:
- state_topic: "homeassistant/sensor/esp/distance"
name: 'Уровень гранул в бункере'
object_id: 'uroven_granul_v_bunkere'
unit_of_measurement: '%'
icon: 'mdi:pine-tree-fire'
value_template: '{{ ( (70 - (value | int)) * 100) / (70 - 20) | round(0) }}'
- state_topic: "homeassistant/sensor/esp/tempBoiler"
name: 'tempBoiler'
unit_of_measurement: '°C'
icon: 'mdi:thermometer'
- state_topic: "homeassistant/sensor/esp/tempPot"
name: 'tempPot'
unit_of_measurement: '°C'
icon: 'mdi:thermometer'
- state_topic: "homeassistant/sensor/esp/countDallasSensors"
name: 'countDallasSensors'
But in the list in the developer panel → states I do not see available objects. What did I do wrong?
I checked in the MQTT integration that the data comes in, but no new objects are created