Hey,
I am trying to generate a Button Card that controls my Shelly 2PM.
I thought that this might be the solution for my problem but this code doesnt work:
- type: template
icon: mdi:arrow-up
tap_action:
action: cover.open_cover
entity: cover.shellyplus2pm_ecc9ffc0752c_cover_0
I am fairly new to coding so I dont know what I am doing wrong here. Can someone guide me so I can have two buttons, one opens the cover, the other should close it.