I’ve got xiami temperature working with the following automation:
Trigger
entity_id: sensor.lumi_lumi_weather_temperature
platform: state
Action
data:
payload_template: '{{ states("sensor.lumi_lumi_weather_temperature") }}'
topic: ac/temperature/current
service: mqtt.publish
and MQTT listen topic:
current_temperature_topic: "ac/temperature/current"
temperature_state_topic: "ac/temperature/current"
Note: no current_temperature_template or temperature_state_template are needed.
Thanks @Florian for the initial setup guide.