Add item.state to external URL action in a page

I am having a list-card and my goal is to add the location to the google-url (ActionURL):

component: oh-list-card
config: {}
- component: oh-label-item
item: L_iPhone_Location
title: Location
fallbackIconToInitial: true
- component: oh-list-item
title: Google Maps
listButton: false
action: url
actionUrl: Google Maps
actionUrlSameWindow: false

Is that possible?

Most fields support expressions. Try it and see if the actionUrl supports them. If so it’s just a matter of starting the entry with = and referencing the Item’s state as described in the docs I linked to.

Thanks @rlkoshak - you are my hero of the day! :slight_smile: