Sensor to show expiry date of SSL certificate

Hi all. Does anybody know what is the name of variable/attribute for currently left days? I setup following automation to receive Pushbullet message:

  • id: ‘1584111101296’
    alias: SSL Certificate Expire
    description: ‘’
    trigger:
    • below: ‘4’
      entity_id: sensor.ssl_certificate_expiry
      platform: numeric_state
    • below: ‘3’
      entity_id: sensor.ssl_certificate_expiry
      platform: numeric_state
    • below: ‘2’
      entity_id: sensor.ssl_certificate_expiry
      platform: numeric_state
      condition:
    • below: ‘4’
      condition: numeric_state
      entity_id: sensor.ssl_certificate_expiry
    • below: ‘3’
      condition: numeric_state
      entity_id: sensor.ssl_certificate_expiry
    • below: ‘2’
      condition: numeric_state
      entity_id: sensor.ssl_certificate_expiry
      action:
    • data:
      message: Hi! This is automated message by Home Assistant - your SSL certificate
      is expiring by {{ state_attr(‘sensor.ssl_certificate_expiry’, ‘???’) }} days!
      target:
      • device/telephone
      • email/[email protected]
      • channel/my_home
        service: notify.pushbullet_stiw47

What should I put in message body instead of question marks, in order to get number which is stated on lovelace?

Thanks.