Hey folks,
to migrate my old energy sensor properly, I want to build a helper sensor, which shows the current value of my sensor but add "889.24" to it.
For that I build a template sensor and added it to the configuration.yml:
- sensor:
- name: "Migrated Shelly-Wechselrichter Eingespeister Strom"
unique_id: wechselrichter_einspeisung_with_history
device_class: energy
state_class: total_increasing
unit_of_measurement: "kWh"
value_template: "{{ states('sensor.wechselrichter_einspeisung') | float + 889.24 }}"
But sadly the sensor does not appear in HA after restarting the system.
Can somebody help me with that issue?
T