Continuing the discussion from Curl > json command:
thought it best to create a separate thread here, while @NotoriousBDG helped me sorting out this issue.
for all of you sharing my setup: HA and several Trädfri lights and sensors. One of the sensors suddenly appeared also with its friendly name, next to the device name, and causes issues in the mqtt traffic, more specifically causing the events publishes without the retain value.
this is the offender:
Client mosqsub|1165-core-ssh received PUBLISH (d0, q0, r1, m0, 'homeassistant/sensor/tradfri_motion_sensor_3_battery/config', ... (179 bytes))
homeassistant/sensor/tradfri_motion_sensor_3_battery/config {
"device_class": "sensor",
"name": "Hall motion sensor Battery",
"state_topic": "homeassistant/sensor/tradfri_motion_sensor_3_battery/state",
"unit_of_measurement": "%"
}
Client mosqsub|1165-core-ssh received PUBLISH (d0, q0, r1, m0, 'homeassistant/sensor/tradfri_motion_sensor_3_battery/state', ... (2 bytes))
homeassistant/sensor/tradfri_motion_sensor_3_battery/state 60
Cheers,
Marius