However I would like to display the power in Watts instead of kW. So the calculated results needs to be multiplied with 1000. I have tried to add this in configuration.yaml in several ways. However I didn’t found the right solution to do this. Who can help me? Thanks in advance for your support.
Hi, Thanks for your reaction. I have added this code to my configuration.yaml file. It is working correctly and the power usage is displayed in Watt instead of kW. However, the new entity is updated every second instead of every minute (as configured in the “platform: filter” section). Is it possible to use your code together with the “platform: filter” functionality so that the measurements per minute are displayed in Watts?
I have checked the time_throttle windows size. Quotes were not used, however values were refreshed correctly every minute. I have added a template platform to convert the sensor values from kW to W and to remove the decimals.
Please let me know if there is another solution available. Thanks in advance for your support.
The setup above works correctly. However I need two platforms. First platform filters the sensor values to one measurement per minute. The second platform converts the sensor value from kW to W. My question is if there is a possibility to do this easier.