Recently I got problems with local tuya and therefore I deleted it and reinstalled.
Now I can’t get the energy tracking anymore as separate sensor.
I do see in development that there is data when using the washing machine so I wondered if someone could help me out with creating a custom sensor for tracking.
Suppose you want to create template sensor. Considering that attribute current_consumption contains power in Watts try adding something like below to your configuration.yaml (just replace entity_id.of_your_washing_machine with proper entity id ):