Am trying to create a template from an attribute of a sensor to get a seperate entity for the power consumption. The entity is created but shows as unavailable.
Thanks, one last issue, when adding the new sensor to the Riemann sum helper to be able to use in the energy dashboard, it doesnt show up, do i need to add a device class to power to the template sensor?
Unfortunately can’t speak to that, as I don’t use it currently. Would suggest reading the docs around it - you could well be correct, I’m not able to confirm however.