Good afternoon. I’m working with esphome with a switch, making various combinations of touches.
I can’t call the service to position the blind in a certain position.
Someone can help me?
#Botao escritorio
binary_sensor:
- platform: gpio
pin:
number: D3
mode: INPUT_PULLUP
inverted: true
name: "Botão escritório"
on_multi_click:
- timing:
- ON for at most 0.5s
- OFF for at least 0.5s
then:
- homeassistant.service:
service: cover.set_cover_position
data:
entity_id: cover.estore_anexo_80
position: 50%