Placing text inside picture-elements card

You can use type: state-label with a dummy sensor and place the text in prefix.
I have one with non-existence sensor.blank to display the text “Front Door” in my picture-elements:

    - type: state-label
      entity: sensor.blank
      prefix: "Front Door "
      style:
        top: 90%
        left: 14%
        font-size: 1.1vw
        color: white
        font-weight: bold
2 Likes