Hello everyone,
I’m fairly new to Hass.io.
I’ve already made a few templates, but I’m overwhelmed here
This ist my Sensor Device :
- platform: mqtt
name: “PV Stromnetz”
state_topic: “fhem/Solaranlage/status-grid_power”
Its around a nummer over 10000 like 14204 Today.
Now i will have a number like 14.20
This is what i test :
- platform: template
sensors:
PV_Stromnetz:
friendly_name: “Stromnetz”
value_format: “{{ (states(‘sensor.pv_tageseinkauf’) | float / 1000 | round(2) }}”
I think what I did there is a bunch of shit
Thanks for help