I am relatively new to to HA and have been mostly working with ESP32 devices with much success. However I am trying to add a MQTT device and am struggling. I set up an RTL-SDR device on a separate computer and have it sending data via MQTT to HA, but the value is off by a factor of 100. I believe I should be ble to add a value template to the entity to scale down by dividing by 100 but I can’t figure out how to reference the device value/state/etc…The entity shows as wm wm (sensor.wm_wm) and the mqtt topic is * rtl433/meters/water/consumption I thought I could add a template like {{sensor.wm_wm|float/100}} but the reference is incorrect. What would be the proper way tyo write this.
Also, I can find all the YAML gfiles for tweaking my ESP32 devices but I can’t find any YAMLs associated with MQTT ddevic
Can anyone point me in the right direction? I’ve searched for answers but am not getting specific enough results to accomplish what i’m trying to do.