Heading Card configuration - Visibility

How can I use an entity attribute in a visibility condition?

You cannot. Only states are supported.