Maximum Timer Duration for a State? Exceeding 24 Hours Fails

I’m trying to set up some simple automations that monitors a device state for a duration of time. For example, if a contact sensor remains closed for XX amount of hours, it will trigger something. When I set the duration for any amount of time under 24 hours, everything works great. If exceeding 24 hours the automation never fires.

Below is an example of an automation I have setup to trigger an event after 34 hours and it won’t work.

alias: Litter Box Glow Red (34 Hours)
description: ""
  - type: not_opened
    platform: device
    device_id: a23d49278aef468f474beb383950dd47
    entity_id: binary_sensor.lumi_lumi_sensor_magnet_aq2_opening_2
    domain: binary_sensor
      hours: 34
      minutes: 0
      seconds: 0
condition: []
  - service: media_player.play_media
      media_content_type: custom
      media_content_id: Activate litter box glow red
      entity_id: media_player.michelle_s_2nd_echo_dot
  - service: input_boolean.turn_on
    data: {}
      entity_id: input_boolean.au_litter_box_34_hour_announcement
mode: single

When doing some research I came across a similar thread from a couple years ago, but the thread went off topic and became hard to follow. It mentioned something about setting up sensor.time which I have since added to my configuration.yaml. Any ideas?


Also getting a similar issue, but even for 3 hours. 10 minutes works but not 3 hours !