Hello all, This is my input from my Inkbird Pool sensor. I did create a sensor and seen the info on the Overview page. But I just need the temp in a box.
{“time”:“2021-02-10 03:34:56”,“model”:“Inkbird ITH-20R”,“id”:18020,“battery”:89,“sensor_num”:8,“mic”:“CRC”,“temperature_F”:68.72,“temperature2_F”:5422.81982,“humidity”:0.1}
I have
mqtt:
sensor:
- platform: mqtt
state_topic: rtl_433/Inkbird
name: temperature_C
unique_id: 18020
unit_of_measurement: F
value_template: >
{% if value_json is defined and value_json.id == 18020 %}
{{ ((value_json.temperature_C * 1.8) + 32)|round(1) }}
{% else %}
{{ states(‘sensor.outdoor_temp’) }}
{% endif %}
Thanks in advance.