Hi!
I was wondering if there was a way to get a confirmation (dialog) when I use the built-in cover control? (The one with the up,stop,down arrows)
This is the config in configuration.yaml:
cover:
- platform: template
covers:
garage_door:
device_class: garage
friendly_name: "Garázsajtó"
value_template: "{{ is_state('binary_sensor.shelly_uni_483fda829330_input_0', 'on') }}"
open_cover:
service: switch.turn_on
data:
entity_id: switch.shelly_uni_483fda829330_relay_0
close_cover:
service: switch.turn_on
data:
entity_id: switch.shelly_uni_483fda829330_relay_0
stop_cover:
service: switch.turn_on
data:
entity_id: switch.shelly_uni_483fda829330_relay_0
icon_template: >-
{% if states('sensor.garage_door', 'Open') %}
mdi:garage-open
{% else %}
mdi:garage
{% endif %}
And this is the config in lovelace:
- type: entities
state_color: true
entities:
- entity: cover.garage_door
title: Kapu / Garázsajtó
And this is how it looks like: