Floorplan, Cover Toggle, One Click, Execute Script, Wifi Factor Liftmaster Controlled

Tags: #<Tag:0x00007f3f1d52b080>

I have a Garage Cover I’m trying to use with my floorplan, My issue is, when I looked for service, cover_toggle, it didn’t exist. so then I googled around and found a script.

script:
toggle_cover:
sequence:
- service_template: >
{% if is_state(‘cover.garage_door_opener’, ‘open’) %}
cover.close_cover
{% else %}
cover.open_cover
{% endif %}
entity_id: cover.garage_door_opener

Now everything looks great, except one issue. when I click on my door in the floorplan to open / close, it opens one more window for me to select “execute”, how can I simplify it and just click the door once?

I found one soultion,

I linked it direct to the door, instead of using the script and or service cover.open_cover, or the more complicated script I was using, now its linked directly to the door entity

in my case
cover.open_garage_opener

now it list the up and down arrow’s as well as the history of the cover. which is better by far then the script.

if anyone finds a way to just click the .svg pic. and have the cover toggle, let me know!