Display a chart when clicking on a device

Hello,

As mentioned, I am splitting my initial request into two parts.

I would like, in a « devices » widget, to be able to click on a device to display the corresponding graph below. Here’s the idea:

By clicking on Living Room, the graph would appear below. And another click would allow you to close the graph.

The graph could appear for a multitude of devices (temperature, humidity, CO2…)