Custom:button-card error HA 2023.4

i updated HA 2023.4
now i have an error

here is my code

      - type: horizontal-stack
        cards:
          - entity: binary_sensor.all_motion
            name: Motions
            show_name: false
            aspect_ratio: 3/2
            size: 30%
            type: custom:button-card
            entity_picture: /local/logo/running.png
            show_entity_picture: true
            template: red_border
            tap_action:
              action: fire-dom-event
              browser_mod:
                command: popup
                title: Motions
                hide_header: false
                large: false
                deviceID:
                  - this
                card:
                  type: custom:layout-card
                  layout_type: horizontal
                  layout:
                    max_cols: 1
                    width: 280
                  cards:
                    - type: custom:auto-entities
                      card:
                        type: entities
                        show_header_toggle: false
                      filter:
                        include:
                          - options:
                              type: custom:button-card
                              template: icon_background
                              show_name: true
                              aspect_ratio: 5/2
                              size: 10%
                            entity_id: binary_sensor.*occupancy
                            state: "on"
                        exclude:
                          - entity_id: binary_sensor.all_motion

You have to update the custom card to 3.5.0. After that, clear your cache.

Thank you! it works!