ESPHome / service: cover.open_cover more than a blind

I’m having trouble calling a service in esphome:

binary_sensor:
  - platform: gpio
    pin:
      number: D1
      mode: INPUT_PULLUP
      inverted: true
    name: "xxxxx"
    on_multi_click:
      - timing:
        - ON for at most 0.5s
        - OFF for at least 0.5s
        then:
          - light.toggle: led 
      - timing:
        - ON for at least 0.75s
        then:
          - homeassistant.service:
              service: cover.open_cover
              data: 
                 entity_id: 
                   cover.xxxx_30
                   cover.xxxx_25
                   cover.xxxx_44

The service: cover.open_cover, doesn’t open all the covers that are in the list… if I have only one cover, it works. If I have all 3 none open.

It must be a simple detail that I’m missing

The entity ids need to be a list, not a dictionary.

      - timing:
        - ON for at least 0.75s
        then:
          - homeassistant.service:
              service: cover.open_cover
              data: 
                 entity_id: 
                   - cover.xxxx_30
                   - cover.xxxx_25
                   - cover.xxxx_44

Goodnight.
I’ve already tried it and it doesn’t work.

If ESPHome does not like it you have two options.

  1. call the services separately:
          - homeassistant.service:
              service: cover.open_cover
              data: 
                 entity_id:
                   cover.xxxx_30
          - homeassistant.service:
              service: cover.open_cover
              data: 
                 entity_id:
                   cover.xxxx_25
          - homeassistant.service:
              service: cover.open_cover
              data: 
                 entity_id:
                   cover.xxxx_44

Or

  1. create a cover group in home assistant and call the service once in ESPHome for that new entity.

You could also try it like this:

      - timing:
        - ON for at least 0.75s
        then:
          - homeassistant.service:
              service: cover.open_cover
              data: 
                 entity_id: "cover.xxxx_30, cover.xxxx_25, cover.xxxx_44"

Thanks again Tom.