Reading power consumption from a MyStrom smart plug

Just a quick comment, you need to use device_class: power instead of device_class: energy

Also, to include in the Energy dashboard, you need to add an integrator like in this comment .