Why in configuration.yaml after doing this to divide a tuya sensor reading X10 the power it should
- platform: template
sensors:
washing_machine_powerfix:
friendly_name: "Washing Machine Power Fix"
unit_of_measurement: "w"
value_template: "{{(states.sensor.smart_socket_8_power.state | float / 10 | round(1) )}}"
device_class: power
unique_id: washing_machine_powerfix
Then converting to Kwh using the below in helpers
Integration - Riemann sum integral
Does this entity not show in the energy individual devices drop down.
Yet the sensor.smart_socket_8_power (raw value from tuya plug, but reading 10x more than it should) works when creating the helper and adding to energy dashboard.
What have I missed. I am using latest home assistant version.