hello, i read with a wemos the time difference of the S0 signals of 2 power meters .
the power in watt is the formula P = 1800/sensordata from wemos (sec)
wm05c1 Wr2k5 Wh…/2 … the value displayed is the time between the pulses
How can I arrange that the sensor is showing the result of the formula an not the value from wemos
Why are you using the old format for template sensors? The link Florian provided clearly states that it is best practice to use the contemporary format.
Place the following in you configuration.yaml file or in a template.yaml file (with proper modifications) if you have already set one up.
Found this info… and I changed customize.yaml… and now I’ve to wait again!
Add this to customize.yaml (or its equivalent via Configuration > Customizations):