Code Schnipsel
Hier seht ihr meinen Code für die PV Einspeisung (Shelly 3em)
- sensor:
- name: PV Einspeisung
unit_of_measurement: "W"
device_class: power
state: "{{ states('sensor.total_power')|float if states('sensor.total_power') | int < 1 else 0 }}"
- sensor:
- name: PV Einspeisung negiert
unit_of_measurement: "W"
device_class: power
state: "{{ states('sensor.pv_einspeisung')|float * -1 }}"
Hier noch der Energy Sensor der Steckdose
- sensor:
- name: "pv_anlage_smartenergy_metering_summation_delivered"
device_class: energy
state_class: total
unit_of_measurement: "kWh"
state: "0"
No Comments