Broadlink Blinds Cover since HA v115

Trying to get my head around covers with broadlink since the new 115 update to HA.

Can someone please help we out with the below code.

cover:
  - platform: template
    covers:
      kitchen:
        friendly_name: "Kitchen Blind"
        open_cover:
        - service: remote.send_command
          data:
            entity_id: remote.kitchen_remote
            command:
                - "sgaEAxkLGAsYCw0WDRYZCwwXDRYNFhkLDBYNFwwXGAsNFg0XGAsYCwwXDRYNFwwXDBcYCw0WGQoNFg0XDRYYCw0XDBcMFxj9njAYCwwXGAsZCg0WGQsYCxgLGAsNFg0WGQsMFwwXDRYZCg0WDRcNFhgLDRYNFxgLGAsNFg0WDRYNFwwXGAsNFhkKDRYNFw0WGAsNFg0XDBcY/Z4vGQoNFhkKGQsMFxgLGAsYCxgLDRcMFxgLDBcMFwwXGAsNFg0XDBcYCw0WDRYZChgMDBcNFg0WDRYNFhkKDRcYCw0WDRYNFhkKDRcMFwwXGP2eLxgLDBcYCxgLDRYZChkLGAsYCw0WDRYZCg0XDBcMFxgLDBcNFg0XFwsNFg0XGAsYCw0WDRYNFg0WDRYZCwwXGAsNFg0WDRYYDAwXDBcMFxj9nS8ZCg0WGQsYCwwXGAsYCxkKGQsMFwwXGAsNFg0WDRYZCw0WDRYNFhgLDRYNFhkLGAsNFg0WDRYNFg0WGQsMFxgLDBcNFg0XGAsMFw0WDBcY/Z0wGAsNFhgLGAsNFhkKGQsYCxgLDBcNFhgLDRYNFg0XGAsMFwwXDBcYCw0WDRYZChkKDRcMFwwXDBcNFhgLDRYZCg0XDBYNFxgLGAsYCxgLDQABCJ0wGAsMFxgLGAsNFxgLGAsYCxgLDRYNFhkLDBYNFwwXGAsNFg0WDRYZCg0XDBcYCxgLDRYNFg0XDBYNFxgLDRYYCw0WDRYNFxgLGAsYCxgLDAABCZ0vGQsMFxgLGAsNFhgLGAsYCxgLDRYNFxgLDBcMFw0WGAsNFg0WDRcYCwwXDRYYCxgLDRcMFg0XDBcNFhgLDRYZCg0WDRYNFxgLGAsYCxgLDQABCJ0wGAsMFxkKGQoNFxgLGAsYCxgLDRYMFxgLDRcMFwwXGAsMFw0WDBcYCw0WDRYZCxgLDBcMFwwXDRYNFhkKDRcYCwwXDBcMFxgLGAsYCxgLDQABCJ4vGAsNFhgLGQoNFxgLGAsYCxgLDRYNFhgLDRYNFwwXGAsNFg0WDRYYCw0WDRYZCxgLDBcNFg0WDRYNFhkKDRYZCwwXDBcMFxgLGAsYCxkLDAABCJ0wGAsMFxgLGAsNFhgLGAsZChkKDRYNFxgLDBcMFw0WGAsNFg0WDRcYCwwXDBcYCxgLDRYNFg0WDRYNFxgLDBcYCw0WDRYMFxgLGQoZChkLDAAF3AAAAAA="
        close_cover:
        - service: remote.send_command
          data:
            entity_id: remote.kitchen_remote
            command:
                - "sgaEAw0WGQoZCg0WGQsYCxgLGAsNFg0WGQoNFg0XDBcYCwwXDRYNFhkKDRcMFxgLGAsNFg0WDRYNFwwXGAsMFxgLDBcNFhgLGAsNFg0WGQsY/Z0wGAsNFhgLGAwMFhkLGAsYCxgLDBcNFhgLDRYNFg0XGAsMFw0WDRYYCw0WDRYZCxgLDBcNFg0WDRYNFhkLDBcYCwwXDRYYCxgLDRcMFxgLGP2dLxkLDBcYCxgLDRYZChkKGQsYCwwXDRYYCw0WDRYNFhkLDBcMFwwXGQoNFg0XGAsYCw0WDBcMFw0WDRYZCg0WGQoNFwwXGAsYCw0WDRYZChn8ni8ZCwwXGAsYCw0WGAsYCxkKGQoNFwwXGAsNFg0WDRYZCg0WDRcMFxgLDBcNFhgLGAsNFg0XDBcMFw0WGAsNFhkKDRcMFxgLGAsNFg0WGQsY/Z4vGAsNFhkKGQsMFxgLGAsYCxkKDRcMFxgLDRYNFg0WGQoNFwwXDBcYCw0WDRcYCxgLDBcNFg0WDRYNFxgLDRYYCw0WDRYYDBgLDBcNFhgLGP2eLxgMDBcYCxgLDBcYCxgLGAsYCw0XDBcYCwwXDRYNFhkKDRcMFwwXGAsMFw0WGAsZCg0WDRcMFw0WDRYYCw0WGQoNFwwXGAsYCw0WDRYYCxn8nTAYCwwXGAsZCg0WGQsYCxgLGAsNFg0WGQoNFwwXDBcYCw0WDRYNFhgMDBYNFhkLGAsMFw0WDRYNFg0WGQoNFxgLDBcNFhgLGQoNFwwXGAsY/Z0vGAsNFxgLGAsMFxgLGAsYCxgLDRYNFxgLDBYNFw0WGAsNFg0WDRYZCg0WDRYZCxgLDBcMFwwXDRYNFhkLDBcYCwwXDRYYCxgLDRYNFhkLGPydMBgLDRYZChkKDRYZChkKGQsYCwwXDBcYCw0WDRYNFhgMDBcMFg0WGQsMFwwXGAsYCw0XDBYNFg0XDBcYCwwXGAsMFw0WGQoZCg0WDRcYCxj8ni8YCw0WGQoZCg0XGAsYCxgLGAsMFw0WGQoNFwwWDRcYCwwXDBcNFhkKDRYNFhkKGQoNFwwXDRYNFgwXGAsNFhgLDRYNFhkLGAsMFwwXGAsY/J4vGAsNFhkKGQsMFhkKGQsYCxgLDRYNFhkKDRYNFg0WGQoNFwwXDRYYCw0WDRYZChkKDRYNFwwXDBcMFxgLDRYYCw0WDRYYCxkKDRYNFhkLGAAF3AAAAAA="

you need to put a prefix of b64: before the command now…https://www.home-assistant.io/integrations/broadlink/#sending-irrf-codes

here is mine for reference:

- platform: template
  covers:
    finn:
      friendly_name: "Finn Blinds"
      value_template: "{{ states('binary_sensor.finn_blind_sensor')|regex_replace('on','open')|regex_replace('off','closed') }}"
      open_cover:
        service: remote.send_command
        data:
          entity_id: remote.broadlink_remote
          command: b64:sgCqATcKDBQMFQsVDBUWCwsVFgsWCgwVFgoMFRYLCxUXChYLCxUMFBcKDBULFRcKDBQMFQwVFgoMFQwUDBUMFAwVDBULFQwVDBUWCgwVFgoXCgsVFwoXolE3CgsVDBUMFAwVFwoMFBcKFgoMFRYLDBQWCwsVFwoWCwsVDBUWCgwVCxYWCgwVCxUMFRYKDBUMFAwVDBUMFAwVDBULFQwVFgoMFRYKFwoMFRYKFqNRNwoLFQwVDBQMFRcKDBQXChYKDBUXCgwUFwoMFBcKFgoMFQwVFgoMFQwUFwoMFAwVDBUWCgwVDBQMFQwVDBULFQwVCxUMFRYKDBUWCxYKDBUWCheiUjYKDBQMFQwVCxUXCgwUFwoWCgwVFwoLFhYKDBUWChYLCxUMFRcKCxUMFRYKDBUMFQsVFwoLFQwVDBQMFQwVCxUMFQwUDBUWCwsVFgsWCgwVFgoXo1A3CgwUDBUMFQsVFwoMFBcKFgsLFRcKCxUXCgwVFgoXCgwUDBUWCwsVDBUWCgwVDBQMFRYLCxUMFQwUDBUMFQsVDBUMFQsVFwoMFBcKFgsLFRYKFwAF3AAAAAAAAAAAAAAAAAAA
      close_cover:
        service: remote.send_command
        data:
          entity_id: remote.broadlink_remote
          command: b64:sgBVATYKDBUMFQwUDBUWCgwVFwkXCgwVFgoMFBcKDBUXCRcKDBUMFBcKDBQMFQwVDBQXChYKFwoMFQwUDBUMFAwVDBQNFAwVDBQXCgwVDBQMFQwUDBUWo1E3CQwVDBUMFAwVFgoMFRcJFwoMFBgJDRQWCgwVFwoWCgwVDBQXCgwUDBUMFQwUFwoXCRcKDBUMFA0UDBQMFQwVDBQMFQwUFwoMFQwUDBUMFAwVFqNRNwkMFQwVDBQMFRcKDBQXChYKDBUXCgwUFwoMFBcKFgoMFQwVFgoMFQwUDBUMFRYKFgoYCQwVDBQMFQwVDBQMFQwVDBQMFRYKDBUMFAwVDBUMFBeiUTcKDBQMFQwUDBUWCwwUFwoWCg0UFwoMFBcKDBQXChcJDBUMFRcJDRQMFAwVDBUWChcKFgoMFQwUDBUMFQwUDBUMFQwUDBUWCg0UDBUMFAwVDBQXAAXcAAAA
      stop_cover:
        service: remote.send_command
        data:
          entity_id: remote.broadlink_remote
          command: b64:sgCmAoRRNwkMFA0UDBUMFBcKDBQXChcKDBQXCgwUFwoMFRYKFwoMFA0UFwoMFAwVFwkNFBcKDBQXCgwUDBUMFAwVDBUMFAwVDBUMFBcJDRQXChcJFwoMFBejUDcKDBUMFAwVDBQXCgwVFwkXCgwUFwoMFBcKDBUXCRcKDBQNFBcKDBQMFRcJDRQXCQ0UFwkNFAwVDBQNFAwVDBQNFAwUDBUXCQ0UFwoWChcKDBS7UDcJDBUMFQwUDBQXCgwVFwkXCgwVFgoMFBgJDRQXCRcKDBQNFBcJDRQNFBcKDBQXCgwUFwoMFA0UDBUMFAwVDBQNFAwUDRQXCQ0UFwoXCRcKDBS6UTcJDRQMFAwVDBQXCg0UFwkXCgwVFgoMFRcJDBUXCRcKDBUMFBcKDBQNFBYKDRQXCgwUFwoMFA0UDBUMFA0UDBQNFAwVDBQXCgwUFwoXCRcKDBS6UDgJDRQMFQwUDBUWCgwVFwkXCg0UFgoNFBcJDRQXCRcKDBQNFBcKDBQNFBcKDBQXCgwUFwoMFA0UDBUMFA0UDBQNFAwVDBQXCgwUGAkXCRcKDRS5UTYKDBUMFQwUDBUXCQ0UFwkYCQwVFwkMFRcKDBQXCRcKDBQNFBcKDBUMFBcKDBQXCgwUFwoMFQwUDBUMFA0UDBQNFA0UDBQXCgwUFwoXChYKDRS5UTcJDBUMFQwUDRQWCg0UFwoXCQwVFwkNFBcJDRQXChcJDRQMFBcKDBUMFBcKDBQXCgwVFgoMFQwUDRQMFA0UDRQMFA0UDBUWCgwVFgoXChcJDRQXo1A3CQ0UDRMNFA0UFwkNFBcKFgoMFBgKDBQXCQ0UFwoXCQ0UDBQXCg0UDBQXCgwUFwoMFRYKDBUMFA0UDRMNFA0UDBQNFAwVFgoMFRcJFwoXCQ0UFwAF3AAA
      icon_template: >-
        {% if is_state('binary_sensor.finn_blind_sensor', 'on') %}
          mdi:blinds-open
        {% else %}
          mdi:blinds
        {% endif %}

you also need to ensure that the remote is enabled in the integrations section

2 Likes

Can you explain how to make a binary sensor binary_sensor.finn_blind_sensor

What I did was fit an open close sensor to the actual blind. You know, the ones you use on doors/windows etc.

1 Like