Hi - Is there a way to make the title for a grid card link to a popup or another view?
What I’d like to do is have swipe cards for each climate zone in my house but also have a popup where I can get a click glance at each room’s temperature. I want this popup to appear when you tap the word “Climate” on the overview.
ui-lovelace
- type: grid
title: Climate
view_layout:
grid-area: temp
columns: 1
cards:
- type: custom:swipe-card
start_card: 1
parameters:
roundLengths: true
effect: coverflow
speed: 650
spaceBetween: 20
threshold: 7
coverflowEffect:
rotate: 80
depth: 300
cards:
- type: custom:button-card
entity: climate.guest_room
name: Guest Room
hold_action:
!include popup/guest_room_ac.yaml
double_tap_action:
!include popup/guest_room_ac.yaml
template:
- base
- icon_climate
- climate
variables:
circle_input: >
[[[
if (entity) {
return entity.state == 'cool' ?
entity.attributes.temperature :
entity.attributes.current_temperature;
}
]]]