The other most essential factor in their survival is temperature range.
Gray Tree Frogs are much more tolerant of cool temps than heat.
Make sure the habitat and the feeding tank both don't get too warm.
These frogs ideal temperature range for healthy activity is 68-78 degrees farenheit, but cooler than 68 isn't a problem whereas above 78 especially sustained for any length of time can be harsh to deadly.