How to make an object NOT clickable?

I’d like to have a text object associated with e.g. sensor.dark_sky_temperature showing current temperature but the object should NOT be clickable (this is to avoid the popups i do not care about if anyone accidentally clicks on the text). Is this possible?

I know this post is old. But for the sake of a reply, I did this by putting a transparent SVG over the item in question in a layer above what I wanted not clickable.

I think using

tap_action: false

would also work