Glad you are back on track.
How can I do that part without node-red?
  - trigger:
    - platform: state
      entity_id: person.Person1
      from: 'home'
    sensor:
    - unique_id: time_left_home_Person1
      name: Time Left Home Person1
      icon: "mdi-home-clock"
      state: >
        {% set last_changed = states.person.Person1.last_changed | as_local %}
        {% if last_changed < today_at() - timedelta(days=1) %}
          {{ last_changed.strftime('%-I:%M %p on %A') }}
        {% elif last_changed < today_at() %}
          {{ last_changed.strftime('%-I:%M %p yesterday') }}
        {% else %}
          {{ last_changed.strftime('%-I:%M %p') }}
        {% endif %}