Hi,
i got a question according power direction with Shelly and Homeassistant.
i installed Shelly 3EM according to the manual.
now he is counting a consumtion as negativ … that sounds right to me due to the fact that it is a consumtion not a production, but in homeassistants Energy Dashboard nothing shows up, it seems that the Dashboard need positiv values? am i right?
Also all the templates for the shelly total power seem to use just positiv power
e.g.
- name: "WaermepumpeEnergy"
unique_id: energy_total
state: >-
{{
[ states('sensor.phase_1_energy'),
states('sensor.phase_2_energy'),
states('sensor.phase_3_energy'),
] | map('float') | sum
}}
availability: >-
{{
[ states('sensor.phase_1_energy'),
states('sensor.phase_2_energy'),
states('sensor.phase_3_energy'),
] | map('is_number') | min
}}
unit_of_measurement: kWh
device_class: energy
state_class: total_increasing
is there a way to fix this or do i need to swap all sensors in order to ge positiv values for consumtion? but isnt that a strange behaviour to count consumtion positiv?