Data hosted with ♥ by Pastebin.com - Download Raw - See Original
  1. // https://youtu.be/QheN8Jz8vTY
  2. //
  3. sensor:
  4.   - platform: template
  5.     sensors:
  6.       difference_power_entities:
  7.         friendly_name: "Consum Casă"
  8.         unit_of_measurement: "W"
  9.         value_template: "{{ (states('sensor.inverter_active_power') | float - states('sensor.power_meter_active_power') | float) | abs }}"
  10.