I have two MQTT sensors. Both receive values via MQTT every 10 minutes. But only one sensor is shown and I can’t get my head around why that is.
This is my configuration.yaml section:
#MQTT Sensor
sensor:
- platform: mqtt
name: "cpu_temp_rahmen"
state_topic: "frame/cpu_temp"
unit_of_measurement: '°C'
availability_topic: "frame/cpu_temp/available"
payload_available: "online"
payload_not_available: "offline"
- platform: mqtt
name: "image_count_rahmen"
state_topic: "frame/images"
unit_of_measurement: 'Photos'
availability_topic: "frame/images/available"
payload_available: "online"
payload_not_available: "offline"
The first sensor (cpu) works fine but not the second one (images). I listened to both channels and both receive values as they should. And the config is the same.
In “Entities” the image_count_rahmen is shown as Status Unavailable. But why?