Custom button card opening url

I want a button that opens a web-page, but somehow the code is wrong. What am I missing ?

    - type: "custom:button-card"
      colortype: card
      name: aktie
      tap_action: url
      url_path: https://www.nu.nl

The web page does not open, and in developerr console it says:
Uncaught TypeError: Cannot assign to read only property ‘0’ of string ‘url’

Spacing and tap_action is incorrect. Look over the documentation of the card a bit more for the examples given a bit lower on the page.

    - type: "custom:button-card"
      colortype: card
      name: aktie
      tap_action: 
        action: url
        url_path: https://www.nu.nl
1 Like

Thank you, spacing always give me a headache. Must have searched for the wrong text. Works now