Skip Navigation

Battery indication for MQTT sensors

I have some sensors like this one:


  - name: "Sala"
    unique_id: "temp_sala"
    state_topic: "zigbee2mqtt/temp_sala"
    value_template: "{{ value_json.temperature }}"
    unit_of_measurement: "°C"

Those sensors publish the battery status too, how can I add it? Thanks!

4
4 comments