Using Attributes in Lovelace

Just to second what @poebae already posted - works great for me: