Card-Mod Power-Outlet switch for switching on and showing power

Hi there!

I’m not that good with code snippets, so I need your help. My idea: I have a Tapo P110 which can track the current power of the power outlet and now I’d like to create a card for my dashboard where I’m able to turn on the power outlet and where I can see the current power.

Could you provide me with a code snippet? That would be really awesome. I know, I need to do it with card mod, but I don’t have any idea how.

Thank you very much!