A way to filter a entity based on device

I just started with home assistant and i’m trying to create my first blueprint to connect one or more Ikea remotes to one or more blinds. my original setup used a device selector to filter on the device type, this worked great until i needed to select more than 1 remote. I am no working with entities instead of devices but unfortunately it looks like entities have way less filters than devices.

is there a way to filter for devices in the entity selector or should i build my blueprint a different way?
My blueprint:

blueprint:
  name: Set blinds with IKEA remote
  description: Sets the blind with the IKEA remote
  domain: automation
  input:
    remote:
      name: IKEA Remote
      description: IKEA Open and Close Remote
      selector:
        entity:
          filter:
            - integration: mqtt
              domain: sensor
          multiple: true
    cover:
      name: Roller blind
      description: Roller blind to control
      selector:
        target:
          entity:
            domain: cover
triggers:
  - trigger: state
    entity_id: !input remote
    to: close
    id: close
  - trigger: state
    entity_id: !input remote
    to: open
    id: open
actions:
  - choose:
      - conditions:
          - condition: trigger
            id:
              - open
        sequence:
          - action: cover.open_cover
            metadata: {}
            data: {}
            target: !input cover
      - conditions:
          - condition: trigger
            id:
              - close
        sequence:
          - action: cover.close_cover
            metadata: {}
            data: {}
            target: !input cover
mode: single

The problem:

I had to filter on the sensor domain because for whatever reason MQTT says that the action entity of my button is a sensor.

Hi raymonvt,

Why and how to avoid device_ids in automations and scripts.

You are on the right track with entities vs devices.