Hello, I have a problem with the home assistant because when I add a sensor that measures my temperature via INPA, there is only the option V or mV, but that is wrong because there are no other options, the same is the case with current sensors where the consumption is 3 amperes but it shows volts
Hello, I had a similar problem and I solved it by creating a new sensor in HA in configuration.yaml.
Adjust the name of the sensor and the measured quantity according to your needs.
Kod:
- sensor:
- name: "Prúd spotreba DC"
unit_of_measurement: "A"
icon: mdi:current-dc
state: >
{% set Prud_spotr_DC = states('sensor.inpa1') | float %}
{{ Prud_spotr_DC | round(2, default=0) }}