Uptime Warning by Device group

Greetings,

(if this has been answered somewhere, please forgive me as my Google-ing attempts have failed)

I am trying to find a way to set the uptime warm warning by device group.
I found the general set all uptime warnings line: $config[‘uptime_warning’] = ‘84600’;
however I’m trying to set it up so that our UPSs (who’s card reboots daily) have a uptime warning of 2 hours. while everything else has an uptime warning of 24 hours.
all of the UPSs are in a dynamic group (Environmental-Power-UPS).

all help is greatly appreciated.

have you tried to write an alert rule for it?
Could look like this: